Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / MS / Internal / TraceHwndHost.cs / 1305600 / 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
- ChildDocumentBlock.cs
- ReceiveCompletedEventArgs.cs
- Menu.cs
- TaskHelper.cs
- ToolStripManager.cs
- QuotedPrintableStream.cs
- SingleKeyFrameCollection.cs
- storepermission.cs
- processwaithandle.cs
- MailAddress.cs
- SecurityKeyType.cs
- TypePropertyEditor.cs
- Propagator.JoinPropagator.cs
- NullableConverter.cs
- SignerInfo.cs
- DataKey.cs
- FontDifferentiator.cs
- SecureConversationServiceCredential.cs
- Msmq3PoisonHandler.cs
- SByteStorage.cs
- CodeTypeReference.cs
- TextEditor.cs
- ToolBarOverflowPanel.cs
- SqlVisitor.cs
- LayoutEngine.cs
- DrawTreeNodeEventArgs.cs
- EntityContainerRelationshipSet.cs
- ServerIdentity.cs
- MetadataArtifactLoader.cs
- ProcessModelSection.cs
- ProfileBuildProvider.cs
- SourceFilter.cs
- NotSupportedException.cs
- GuidelineSet.cs
- LocalizabilityAttribute.cs
- CatalogZone.cs
- XmlFormatExtensionPrefixAttribute.cs
- AppDomain.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- DataException.cs
- Drawing.cs
- ParseNumbers.cs
- OutOfMemoryException.cs
- DbConnectionPool.cs
- PasswordRecovery.cs
- ShaderRenderModeValidation.cs
- SystemIPv6InterfaceProperties.cs
- CodeMethodInvokeExpression.cs
- PropertyValueChangedEvent.cs
- Collection.cs
- PageOrientation.cs
- SimpleRecyclingCache.cs
- DataGridSortCommandEventArgs.cs
- VectorCollectionConverter.cs
- DataGridRow.cs
- CustomPopupPlacement.cs
- BamlRecordReader.cs
- ListControlStringCollectionEditor.cs
- BamlLocalizableResourceKey.cs
- _HTTPDateParse.cs
- WebPartCatalogAddVerb.cs
- AgileSafeNativeMemoryHandle.cs
- WebPartVerbsEventArgs.cs
- XmlArrayAttribute.cs
- SqlDesignerDataSourceView.cs
- CounterCreationDataCollection.cs
- WindowsMenu.cs
- OwnerDrawPropertyBag.cs
- ListControl.cs
- CodeTypeOfExpression.cs
- ColumnCollection.cs
- ExecutionEngineException.cs
- __FastResourceComparer.cs
- LocalBuilder.cs
- TranslateTransform.cs
- Int32Animation.cs
- QilLoop.cs
- ComplexTypeEmitter.cs
- ImportContext.cs
- RectValueSerializer.cs
- PingOptions.cs
- SuppressMergeCheckAttribute.cs
- RbTree.cs
- Table.cs
- FixedFindEngine.cs
- AuthenticationSection.cs
- Unit.cs
- PermissionSetEnumerator.cs
- ManagementBaseObject.cs
- BitStack.cs
- ConfigXmlElement.cs
- EnvelopedPkcs7.cs
- TextParaLineResult.cs
- GlobalEventManager.cs
- PassportAuthenticationModule.cs
- HttpResponse.cs
- TypedDatasetGenerator.cs
- BlockExpression.cs
- ConnectionInterfaceCollection.cs
- StyleSelector.cs