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
- SessionStateItemCollection.cs
- ConnectionOrientedTransportBindingElement.cs
- BooleanAnimationUsingKeyFrames.cs
- AuthenticationSection.cs
- ParserStack.cs
- SoapTypeAttribute.cs
- FolderLevelBuildProvider.cs
- MDIControlStrip.cs
- BitConverter.cs
- CodeGenerator.cs
- BitmapEffectRenderDataResource.cs
- NavigatingCancelEventArgs.cs
- ChameleonKey.cs
- XmlDocumentFieldSchema.cs
- WizardStepBase.cs
- DeferredReference.cs
- OrderByBuilder.cs
- ConfigurationProperty.cs
- SqlBuilder.cs
- ThicknessAnimationBase.cs
- SettingsPropertyIsReadOnlyException.cs
- ImportedNamespaceContextItem.cs
- MdiWindowListItemConverter.cs
- RequestUriProcessor.cs
- AnonymousIdentificationModule.cs
- InputLanguageManager.cs
- ExceptionHandler.cs
- QilList.cs
- QilLiteral.cs
- CalendarButtonAutomationPeer.cs
- StorageSetMapping.cs
- DataError.cs
- milexports.cs
- XmlLanguageConverter.cs
- SimpleWebHandlerParser.cs
- ListDictionaryInternal.cs
- DataRowChangeEvent.cs
- DrawingAttributes.cs
- Deflater.cs
- EntityContainer.cs
- SQLGuidStorage.cs
- ToolboxItemFilterAttribute.cs
- HttpCacheParams.cs
- MachinePropertyVariants.cs
- MaterialGroup.cs
- InvokeGenerator.cs
- PathFigureCollection.cs
- DispatcherHooks.cs
- Hashtable.cs
- FloatUtil.cs
- _NetRes.cs
- Transactions.cs
- ResourceBinder.cs
- NativeMethods.cs
- TableLayoutPanelCellPosition.cs
- FileVersion.cs
- StoreUtilities.cs
- Vector3DAnimationBase.cs
- ObjectDataSourceView.cs
- BinaryConverter.cs
- FilterException.cs
- ProcessStartInfo.cs
- ObservableCollection.cs
- MessageSmuggler.cs
- FileStream.cs
- ListSortDescription.cs
- StrokeIntersection.cs
- TogglePatternIdentifiers.cs
- ConfigurationElementCollection.cs
- VScrollProperties.cs
- PageFunction.cs
- TextCharacters.cs
- ExpressionBuilderContext.cs
- HttpCookiesSection.cs
- InputLanguageProfileNotifySink.cs
- NativeMethods.cs
- SqlNamer.cs
- CompatibleComparer.cs
- CommonRemoteMemoryBlock.cs
- ListBoxAutomationPeer.cs
- DataListItemCollection.cs
- ChangesetResponse.cs
- FontSource.cs
- AgileSafeNativeMemoryHandle.cs
- BindableAttribute.cs
- EdmFunction.cs
- QilUnary.cs
- SimpleType.cs
- IgnoreDataMemberAttribute.cs
- EditorAttribute.cs
- GeometryHitTestParameters.cs
- QilTypeChecker.cs
- DisableDpiAwarenessAttribute.cs
- SoapMessage.cs
- UIElementCollection.cs
- Section.cs
- _CommandStream.cs
- DataViewManagerListItemTypeDescriptor.cs
- SafeNativeMethods.cs
- MediaContext.cs