Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- SafeUserTokenHandle.cs
- APCustomTypeDescriptor.cs
- ReadOnlyDataSource.cs
- WebPartVerb.cs
- DataGridViewCellStyle.cs
- XmlQualifiedName.cs
- FileSystemInfo.cs
- SqlIdentifier.cs
- BasicBrowserDialog.cs
- ImageProxy.cs
- MultiView.cs
- OutputCacheModule.cs
- CellPartitioner.cs
- Utils.cs
- MsmqElementBase.cs
- WebPartEditorCancelVerb.cs
- DefaultTextStoreTextComposition.cs
- SafeLibraryHandle.cs
- TrackingWorkflowEventArgs.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- ProfilePropertyNameValidator.cs
- PagedDataSource.cs
- XmlSchemaExporter.cs
- ProfileModule.cs
- DrawingBrush.cs
- CodeTypeReferenceExpression.cs
- IOException.cs
- ExpanderAutomationPeer.cs
- _OverlappedAsyncResult.cs
- ResourceIDHelper.cs
- CaseCqlBlock.cs
- PropertySegmentSerializer.cs
- ConfigXmlWhitespace.cs
- NetStream.cs
- IOThreadTimer.cs
- OperationFormatStyle.cs
- UserControl.cs
- ConsumerConnectionPoint.cs
- ClientApiGenerator.cs
- DiagnosticsConfigurationHandler.cs
- TdsParserSessionPool.cs
- Win32MouseDevice.cs
- OracleParameterCollection.cs
- BinaryWriter.cs
- TextTrailingCharacterEllipsis.cs
- RotationValidation.cs
- DataGridBoundColumn.cs
- DocumentXPathNavigator.cs
- SizeAnimationUsingKeyFrames.cs
- PEFileReader.cs
- ObjectListFieldsPage.cs
- PropertyEntry.cs
- X509Utils.cs
- InkCanvasInnerCanvas.cs
- TypeCollectionPropertyEditor.cs
- TransportElement.cs
- COM2ExtendedUITypeEditor.cs
- MemberPath.cs
- AssemblyInfo.cs
- ImageSourceConverter.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ILGenerator.cs
- XamlToRtfParser.cs
- DocumentViewerBase.cs
- WindowsTokenRoleProvider.cs
- ColorBlend.cs
- PointAnimation.cs
- AnimationClockResource.cs
- ReadOnlyDictionary.cs
- ViewStateException.cs
- BaseCAMarshaler.cs
- AppDomainInstanceProvider.cs
- ConfigurationValidatorAttribute.cs
- SqlNode.cs
- BitArray.cs
- PassportPrincipal.cs
- ContainerUtilities.cs
- ContentPlaceHolder.cs
- StorageModelBuildProvider.cs
- DataStreamFromComStream.cs
- CodeAttributeDeclarationCollection.cs
- SqlDependencyListener.cs
- Msmq.cs
- HttpListenerResponse.cs
- SafeLibraryHandle.cs
- SortKey.cs
- ParseNumbers.cs
- InvalidateEvent.cs
- EmptyEnumerator.cs
- DataBoundControlAdapter.cs
- DataGridViewCellEventArgs.cs
- RegexWorker.cs
- Rotation3DAnimation.cs
- FormViewInsertedEventArgs.cs
- StateMachineExecutionState.cs
- FileCodeGroup.cs
- AbandonedMutexException.cs
- GenericXmlSecurityToken.cs
- SocketCache.cs
- BrushConverter.cs