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
- SimpleTypeResolver.cs
- PageStatePersister.cs
- RIPEMD160Managed.cs
- DataGridViewRowEventArgs.cs
- RepeaterItemEventArgs.cs
- JavaScriptString.cs
- DiscoveryDocument.cs
- WindowsNonControl.cs
- Oci.cs
- ButtonBase.cs
- SemaphoreFullException.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- WorkerProcess.cs
- CommonObjectSecurity.cs
- SimplePropertyEntry.cs
- FlowLayoutPanelDesigner.cs
- BamlVersionHeader.cs
- AttachedProperty.cs
- BreakRecordTable.cs
- DbgUtil.cs
- GeneralTransform3DGroup.cs
- GeneralTransform3D.cs
- Permission.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- Timer.cs
- SQLConvert.cs
- MD5CryptoServiceProvider.cs
- ShadowGlyph.cs
- ErrorInfoXmlDocument.cs
- DbProviderSpecificTypePropertyAttribute.cs
- CodeDOMUtility.cs
- ListGeneralPage.cs
- MobileCategoryAttribute.cs
- xsdvalidator.cs
- PerfService.cs
- PreviewPageInfo.cs
- Int64KeyFrameCollection.cs
- SqlClientMetaDataCollectionNames.cs
- TdsParameterSetter.cs
- SocketElement.cs
- InternalConfigConfigurationFactory.cs
- ProjectedSlot.cs
- Formatter.cs
- DataAdapter.cs
- DataViewListener.cs
- FixedDocumentSequencePaginator.cs
- SqlDependencyUtils.cs
- Queue.cs
- PeerNameResolver.cs
- Point3DKeyFrameCollection.cs
- SmiRequestExecutor.cs
- PropertyDescriptorComparer.cs
- CompositeActivityTypeDescriptor.cs
- PropertyStore.cs
- ObjectParameterCollection.cs
- MemberInfoSerializationHolder.cs
- OracleDataReader.cs
- WebConfigurationHostFileChange.cs
- ToolBarTray.cs
- NegationPusher.cs
- LicenseContext.cs
- AssemblyInfo.cs
- StringArrayConverter.cs
- ItemCheckedEvent.cs
- TextSegment.cs
- MetaChildrenColumn.cs
- NamedPipeChannelFactory.cs
- TrackingRecord.cs
- RangeBase.cs
- RemotingConfigParser.cs
- SudsParser.cs
- ReadOnlyHierarchicalDataSource.cs
- ToolStripSeparatorRenderEventArgs.cs
- UidPropertyAttribute.cs
- NamespaceTable.cs
- XmlEventCache.cs
- LinkLabelLinkClickedEvent.cs
- BuilderInfo.cs
- XmlSchemaInfo.cs
- EvidenceTypeDescriptor.cs
- XmlSchemaElement.cs
- HtmlFormParameterReader.cs
- DnsPermission.cs
- HostedHttpTransportManager.cs
- ControlUtil.cs
- BufferCache.cs
- Nullable.cs
- XPathSingletonIterator.cs
- Errors.cs
- SHA384Cng.cs
- NullRuntimeConfig.cs
- MatrixTransform3D.cs
- SevenBitStream.cs
- MenuTracker.cs
- MaterializeFromAtom.cs
- CodeExporter.cs
- DataServiceKeyAttribute.cs
- DynamicExpression.cs
- WindowsFont.cs
- GridToolTip.cs