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
- BindValidator.cs
- TextEditorDragDrop.cs
- ExtendedProperty.cs
- LocalBuilder.cs
- XmlIlTypeHelper.cs
- PrePrepareMethodAttribute.cs
- ToolStripSystemRenderer.cs
- NamedPermissionSet.cs
- VisualStyleInformation.cs
- WebRequestModulesSection.cs
- PathFigureCollectionValueSerializer.cs
- IndexedGlyphRun.cs
- GroupItem.cs
- controlskin.cs
- XamlHostingSection.cs
- HttpValueCollection.cs
- TextLineBreak.cs
- ReferentialConstraint.cs
- BuildProvidersCompiler.cs
- SecureEnvironment.cs
- SoapEnumAttribute.cs
- Guid.cs
- SystemIPInterfaceProperties.cs
- InvalidateEvent.cs
- WizardForm.cs
- DeclaredTypeValidatorAttribute.cs
- XmlWellformedWriter.cs
- EntityDataSourceDesignerHelper.cs
- PageCatalogPart.cs
- PenThreadWorker.cs
- SingleResultAttribute.cs
- AnonymousIdentificationModule.cs
- FontSourceCollection.cs
- CodeAccessSecurityEngine.cs
- KeyPullup.cs
- CodeSnippetExpression.cs
- Dump.cs
- XsltFunctions.cs
- JoinCqlBlock.cs
- SelfIssuedAuthAsymmetricKey.cs
- PartitionerStatic.cs
- PEFileReader.cs
- DataServiceHostFactory.cs
- ReadOnlyState.cs
- FrameworkContentElementAutomationPeer.cs
- SchemaObjectWriter.cs
- UserPersonalizationStateInfo.cs
- CriticalExceptions.cs
- CompoundFileReference.cs
- BitArray.cs
- BasicExpressionVisitor.cs
- CharacterBufferReference.cs
- Constants.cs
- PageBreakRecord.cs
- DriveInfo.cs
- _StreamFramer.cs
- ResourceBinder.cs
- PackageDigitalSignature.cs
- PersonalizationEntry.cs
- InvalidComObjectException.cs
- GreenMethods.cs
- ProcessThread.cs
- MimeXmlReflector.cs
- WebPartPersonalization.cs
- ApplicationBuildProvider.cs
- IndexingContentUnit.cs
- OperatingSystem.cs
- TextEditorParagraphs.cs
- XmlAttributeProperties.cs
- XmlDocumentSerializer.cs
- ConfigErrorGlyph.cs
- HyperLink.cs
- URLString.cs
- AdRotator.cs
- MobileControlBuilder.cs
- Transform3DCollection.cs
- DebugHandleTracker.cs
- Enum.cs
- CodeGen.cs
- ToolStripStatusLabel.cs
- DataServiceExpressionVisitor.cs
- OleCmdHelper.cs
- Cloud.cs
- PageRequestManager.cs
- ButtonChrome.cs
- HWStack.cs
- ExplicitDiscriminatorMap.cs
- StatusBarDrawItemEvent.cs
- StartUpEventArgs.cs
- SynchronizedInputAdaptor.cs
- SQLMembershipProvider.cs
- PreloadedPackages.cs
- TemplateInstanceAttribute.cs
- DataProtection.cs
- PreviousTrackingServiceAttribute.cs
- SectionInput.cs
- ReadOnlyAttribute.cs
- panel.cs
- GetWorkflowTree.cs
- DataGridViewRowPostPaintEventArgs.cs