Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Framework / MS / Internal / TraceHwndHost.cs / 1 / 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
- ToolStripHighContrastRenderer.cs
- UrlMappingsModule.cs
- BypassElement.cs
- WindowsScrollBarBits.cs
- InheritanceRules.cs
- AssemblyNameProxy.cs
- StreamReader.cs
- ConfigurationSchemaErrors.cs
- Scheduling.cs
- ColorTypeConverter.cs
- MultipartContentParser.cs
- RSAPKCS1SignatureDeformatter.cs
- CodeLinePragma.cs
- EntityType.cs
- activationcontext.cs
- DifferencingCollection.cs
- ZipIOFileItemStream.cs
- SqlStatistics.cs
- WebSysDefaultValueAttribute.cs
- CategoryGridEntry.cs
- ModuleConfigurationInfo.cs
- IteratorDescriptor.cs
- OpCodes.cs
- EntityViewContainer.cs
- StreamInfo.cs
- PermissionAttributes.cs
- FieldTemplateUserControl.cs
- XPathAxisIterator.cs
- DateTime.cs
- SafeSecurityHandles.cs
- DependencyPropertyKind.cs
- WebColorConverter.cs
- XamlBrushSerializer.cs
- HMACSHA256.cs
- EditingScopeUndoUnit.cs
- DataKeyArray.cs
- AccessorTable.cs
- AxParameterData.cs
- XmlNodeWriter.cs
- CSharpCodeProvider.cs
- IriParsingElement.cs
- SafeTimerHandle.cs
- ContextProperty.cs
- Point3DAnimation.cs
- ProviderMetadataCachedInformation.cs
- TogglePattern.cs
- GridProviderWrapper.cs
- NavigationHelper.cs
- SoapSchemaMember.cs
- TypefaceCollection.cs
- RoleGroupCollection.cs
- ChildDocumentBlock.cs
- RootProfilePropertySettingsCollection.cs
- TraceContextEventArgs.cs
- TemplateColumn.cs
- PriorityItem.cs
- PermissionListSet.cs
- Comparer.cs
- SignedXmlDebugLog.cs
- UIInitializationException.cs
- CheckBoxField.cs
- TaskResultSetter.cs
- ZipIOLocalFileDataDescriptor.cs
- HttpsTransportElement.cs
- StringExpressionSet.cs
- OledbConnectionStringbuilder.cs
- PnrpPeerResolver.cs
- ReferentialConstraint.cs
- ExtentCqlBlock.cs
- TypeLoader.cs
- AllMembershipCondition.cs
- FixedSOMImage.cs
- XmlNodeChangedEventManager.cs
- CodeVariableDeclarationStatement.cs
- TransformedBitmap.cs
- ButtonChrome.cs
- ParagraphVisual.cs
- IncrementalCompileAnalyzer.cs
- OneWayBindingElementImporter.cs
- PolicyManager.cs
- BaseTreeIterator.cs
- PointAnimationUsingPath.cs
- HttpValueCollection.cs
- SqlMetaData.cs
- NodeFunctions.cs
- RadioButtonList.cs
- BinHexEncoding.cs
- CultureTableRecord.cs
- EpmAttributeNameBuilder.cs
- DecoderExceptionFallback.cs
- Path.cs
- ListenDesigner.cs
- DirectionalLight.cs
- SafeCryptHandles.cs
- SmiTypedGetterSetter.cs
- TileBrush.cs
- _Connection.cs
- FileLogRecordStream.cs
- DetailsViewRowCollection.cs
- StructuralCache.cs