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
- FilterableAttribute.cs
- FormsAuthenticationCredentials.cs
- UserPreferenceChangedEventArgs.cs
- WebRequest.cs
- ControlAdapter.cs
- AspNetHostingPermission.cs
- IisTraceWebEventProvider.cs
- CreateUserWizardStep.cs
- rsa.cs
- TrustSection.cs
- Clock.cs
- LinkLabel.cs
- DesignTimeTemplateParser.cs
- SoapHeader.cs
- IdnElement.cs
- CellRelation.cs
- DiagnosticTrace.cs
- MarkupObject.cs
- TextWriterTraceListener.cs
- DataComponentGenerator.cs
- OwnerDrawPropertyBag.cs
- ApplicationException.cs
- PartialCachingControl.cs
- EntityClassGenerator.cs
- DoubleAnimationClockResource.cs
- BinaryCommonClasses.cs
- CacheModeConverter.cs
- HttpTransportElement.cs
- EdgeProfileValidation.cs
- PartialTrustValidationBehavior.cs
- QuaternionAnimation.cs
- TextServicesCompartmentEventSink.cs
- WorkItem.cs
- LinqDataSourceDeleteEventArgs.cs
- ContextQuery.cs
- validation.cs
- DictionaryContent.cs
- DataControlPagerLinkButton.cs
- CurrencyManager.cs
- TextFormatter.cs
- PrinterResolution.cs
- NativeMethods.cs
- Encoding.cs
- ListViewSortEventArgs.cs
- GenericPrincipal.cs
- DefaultObjectSerializer.cs
- Stroke.cs
- TextBoxAutoCompleteSourceConverter.cs
- CatalogUtil.cs
- DataObjectFieldAttribute.cs
- BitmapFrameDecode.cs
- SelectionWordBreaker.cs
- ToolStripDropDownClosedEventArgs.cs
- OletxEnlistment.cs
- AssemblyGen.cs
- LassoSelectionBehavior.cs
- DataGridItemCollection.cs
- DataGridViewTopLeftHeaderCell.cs
- Calendar.cs
- AgileSafeNativeMemoryHandle.cs
- LineServices.cs
- ButtonBase.cs
- AbstractSvcMapFileLoader.cs
- BuildDependencySet.cs
- ListItemViewControl.cs
- ReadOnlyNameValueCollection.cs
- wgx_commands.cs
- HttpFormatExtensions.cs
- InputScopeManager.cs
- _Connection.cs
- Point3DIndependentAnimationStorage.cs
- DBDataPermission.cs
- CustomPopupPlacement.cs
- ItemContainerProviderWrapper.cs
- MessageEncodingBindingElementImporter.cs
- JsonFormatGeneratorStatics.cs
- StyleTypedPropertyAttribute.cs
- AttributeQuery.cs
- dsa.cs
- HostingEnvironment.cs
- NativeMethods.cs
- AutomationElement.cs
- WebMessageBodyStyleHelper.cs
- NetCodeGroup.cs
- Columns.cs
- QilXmlWriter.cs
- ElementMarkupObject.cs
- PageParser.cs
- LabelExpression.cs
- InvalidDataException.cs
- TrackingCondition.cs
- TabItemWrapperAutomationPeer.cs
- SvcMapFileSerializer.cs
- HttpListener.cs
- IdnMapping.cs
- HtmlEncodedRawTextWriter.cs
- ComplexObject.cs
- PinnedBufferMemoryStream.cs
- BamlStream.cs
- EncryptedXml.cs