Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- SqlNotificationRequest.cs
- SecurityContextSecurityToken.cs
- EnvironmentPermission.cs
- DataControlFieldHeaderCell.cs
- ClientData.cs
- ISFTagAndGuidCache.cs
- ConnectionManagementElement.cs
- MutexSecurity.cs
- TextTreeText.cs
- XmlObjectSerializerWriteContextComplex.cs
- ViewStateException.cs
- DBAsyncResult.cs
- SqlProcedureAttribute.cs
- RIPEMD160.cs
- WindowsGrip.cs
- BoundColumn.cs
- ChildChangedEventArgs.cs
- NativeMethods.cs
- SoapObjectWriter.cs
- sqlser.cs
- ClientSideProviderDescription.cs
- odbcmetadatacollectionnames.cs
- TextEditorContextMenu.cs
- BamlLocalizabilityResolver.cs
- XMLSchema.cs
- DataGridViewLayoutData.cs
- BaseCodePageEncoding.cs
- SchemaComplexType.cs
- UpdatePanel.cs
- XmlDigitalSignatureProcessor.cs
- CollectionBuilder.cs
- ArrayElementGridEntry.cs
- DbSourceParameterCollection.cs
- BounceEase.cs
- DisableDpiAwarenessAttribute.cs
- CodePageEncoding.cs
- UnsafeNativeMethodsPenimc.cs
- XmlSchema.cs
- CodeDirectoryCompiler.cs
- RegexMatchCollection.cs
- ExtractCollection.cs
- SafeBitVector32.cs
- ZoneButton.cs
- DrawingGroup.cs
- D3DImage.cs
- ProfileWorkflowElement.cs
- QueryConverter.cs
- HtmlGenericControl.cs
- SymDocumentType.cs
- DataChangedEventManager.cs
- EncryptedType.cs
- PathParser.cs
- Emitter.cs
- TemplatePropertyEntry.cs
- XPathChildIterator.cs
- ServiceDocument.cs
- SqlTypeConverter.cs
- TextMessageEncoder.cs
- ProgressPage.cs
- counter.cs
- MsmqAppDomainProtocolHandler.cs
- counter.cs
- KeyedHashAlgorithm.cs
- DtdParser.cs
- TransformGroup.cs
- SafeNativeMethodsMilCoreApi.cs
- TransactionInterop.cs
- CollectionEditVerbManager.cs
- DesignerDataConnection.cs
- UrlAuthorizationModule.cs
- FileLevelControlBuilderAttribute.cs
- DecoderReplacementFallback.cs
- CompilerState.cs
- DbConnectionPoolGroupProviderInfo.cs
- StylusButton.cs
- SingleResultAttribute.cs
- PeerInvitationResponse.cs
- DbProviderFactory.cs
- AllMembershipCondition.cs
- Parameter.cs
- ResourceProperty.cs
- MsmqIntegrationSecurityElement.cs
- Pkcs7Signer.cs
- Directory.cs
- ConnectionConsumerAttribute.cs
- SafeProcessHandle.cs
- WindowsScroll.cs
- DependencyPropertyDescriptor.cs
- XmlCDATASection.cs
- PackageRelationship.cs
- ObjectDataSourceDisposingEventArgs.cs
- DataListItemCollection.cs
- ProvidePropertyAttribute.cs
- ClientScriptManagerWrapper.cs
- SessionParameter.cs
- PropertyDescriptor.cs
- Menu.cs
- ArrayConverter.cs
- ServiceDescriptionReflector.cs
- Interop.cs