Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / MS / Internal / TraceHwndHost.cs / 1305600 / TraceHwndHost.cs
#define TRACE //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: Defines TraceHwndHost class, for providing debugging information // for HwndHosts // //--------------------------------------------------------------------------- using System; using System.Collections; using System.ComponentModel; using System.Diagnostics; using System.Reflection; using System.Text; using System.Windows; using System.Windows.Data; using MS.Internal.Data; using MS.Win32; namespace MS.Internal { ////// Provides a central mechanism for providing debugging information /// to aid programmers in using HwndHost. /// Helpers are defined here. /// The rest of the class is generated; see also: AvTraceMessage.txt and genTraceStrings.pl /// internal static partial class TraceHwndHost { // ----------------------------------------------------------------- // Constructors // ----------------------------------------------------------------- static TraceHwndHost() { // This tells tracing that IsEnabled should be true if we're in the debugger, // even if the registry flag isn't turned on. By default, IsEnabled is only // true if the registry is set. _avTrace.EnabledByDebugger = true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. #define TRACE //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: Defines TraceHwndHost class, for providing debugging information // for HwndHosts // //--------------------------------------------------------------------------- using System; using System.Collections; using System.ComponentModel; using System.Diagnostics; using System.Reflection; using System.Text; using System.Windows; using System.Windows.Data; using MS.Internal.Data; using MS.Win32; namespace MS.Internal { ////// Provides a central mechanism for providing debugging information /// to aid programmers in using HwndHost. /// Helpers are defined here. /// The rest of the class is generated; see also: AvTraceMessage.txt and genTraceStrings.pl /// internal static partial class TraceHwndHost { // ----------------------------------------------------------------- // Constructors // ----------------------------------------------------------------- static TraceHwndHost() { // This tells tracing that IsEnabled should be true if we're in the debugger, // even if the registry flag isn't turned on. By default, IsEnabled is only // true if the registry is set. _avTrace.EnabledByDebugger = true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XslAst.cs
- Mutex.cs
- TreeViewEvent.cs
- InProcStateClientManager.cs
- XmlSiteMapProvider.cs
- PipeStream.cs
- SqlConnectionHelper.cs
- SQLString.cs
- WebControl.cs
- HttpModulesSection.cs
- AlternationConverter.cs
- ToolStripPanelRenderEventArgs.cs
- MarkupObject.cs
- SerializationStore.cs
- EntityDataSourceWizardForm.cs
- UserControl.cs
- PeerFlooder.cs
- InvalidProgramException.cs
- HtmlInputFile.cs
- ConfigurationElement.cs
- ResourceDescriptionAttribute.cs
- ExtensibleClassFactory.cs
- EntityDataSourceContainerNameConverter.cs
- ComponentDispatcher.cs
- SplashScreenNativeMethods.cs
- RenderData.cs
- HorizontalAlignConverter.cs
- TextDecoration.cs
- WindowPatternIdentifiers.cs
- ReflectPropertyDescriptor.cs
- WindowsComboBox.cs
- XmlSchemaDocumentation.cs
- Int16AnimationUsingKeyFrames.cs
- TemplateDefinition.cs
- VisualTarget.cs
- CryptoStream.cs
- ImageButton.cs
- ColorMatrix.cs
- SQLBoolean.cs
- dataSvcMapFileLoader.cs
- HttpHostedTransportConfiguration.cs
- XsdBuildProvider.cs
- Label.cs
- WCFBuildProvider.cs
- DataGridViewRowPrePaintEventArgs.cs
- InvokeSchedule.cs
- CharacterShapingProperties.cs
- ToolStripOverflow.cs
- ProviderConnectionPointCollection.cs
- BitmapEffectInput.cs
- StubHelpers.cs
- ObjectViewEntityCollectionData.cs
- validation.cs
- CodeMemberMethod.cs
- ActiveXSite.cs
- FlowNode.cs
- ListView.cs
- BaseDataListDesigner.cs
- X509CertificateChain.cs
- ListSourceHelper.cs
- SecurityState.cs
- ConfigurationLocationCollection.cs
- XPathNavigatorKeyComparer.cs
- RadioButtonPopupAdapter.cs
- KernelTypeValidation.cs
- SuppressMessageAttribute.cs
- UpDownEvent.cs
- AuthenticatedStream.cs
- WpfPayload.cs
- DragEvent.cs
- Stylesheet.cs
- StringFunctions.cs
- CompilerResults.cs
- DataServiceEntityAttribute.cs
- ExecutionContext.cs
- UserPreferenceChangedEventArgs.cs
- DataListItemEventArgs.cs
- DPCustomTypeDescriptor.cs
- XmlnsPrefixAttribute.cs
- SmtpTransport.cs
- LicenseException.cs
- EntityModelBuildProvider.cs
- HostedElements.cs
- KeyFrames.cs
- XmlMtomReader.cs
- DbTransaction.cs
- Range.cs
- CodeParameterDeclarationExpression.cs
- ToolStripItemClickedEventArgs.cs
- EmissiveMaterial.cs
- CompositeControl.cs
- WindowsSolidBrush.cs
- BitmapPalette.cs
- EventDescriptor.cs
- MetadataHelper.cs
- BinaryReader.cs
- Atom10ItemFormatter.cs
- querybuilder.cs
- TimeoutValidationAttribute.cs
- LostFocusEventManager.cs