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
- MiniLockedBorderGlyph.cs
- Latin1Encoding.cs
- StringToken.cs
- TabletCollection.cs
- ProfileBuildProvider.cs
- FtpRequestCacheValidator.cs
- XXXOnTypeBuilderInstantiation.cs
- BulletDecorator.cs
- ImageSourceConverter.cs
- ReverseInheritProperty.cs
- mda.cs
- PropertyGridCommands.cs
- SQLRoleProvider.cs
- HttpCapabilitiesSectionHandler.cs
- MemberAssignmentAnalysis.cs
- TypedReference.cs
- RequiredFieldValidator.cs
- EqualityComparer.cs
- TextSchema.cs
- CompositionDesigner.cs
- DbgUtil.cs
- XmlUTF8TextWriter.cs
- PrintController.cs
- XmlElementElement.cs
- XmlUrlResolver.cs
- DataGridColumnCollectionEditor.cs
- Accessors.cs
- XmlSchemaRedefine.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- Oci.cs
- XPathSelectionIterator.cs
- RoutedEventArgs.cs
- CompilationRelaxations.cs
- HierarchicalDataSourceControl.cs
- InheritanceContextChangedEventManager.cs
- RegistrationServices.cs
- TimeSpanSecondsConverter.cs
- UIElement3D.cs
- TypeSystem.cs
- DrawingContextWalker.cs
- FixedPage.cs
- CreateUserWizard.cs
- TypeUsage.cs
- MissingManifestResourceException.cs
- DesignerToolboxInfo.cs
- MeasureItemEvent.cs
- ConfigurationException.cs
- XmlIlGenerator.cs
- DataBindingHandlerAttribute.cs
- Resources.Designer.cs
- DataServiceRequest.cs
- Ops.cs
- UriParserTemplates.cs
- ValidatedControlConverter.cs
- MetadataCollection.cs
- RolePrincipal.cs
- EditorPart.cs
- DesignerAttributeInfo.cs
- BasicExpressionVisitor.cs
- MemoryFailPoint.cs
- DynamicFilterExpression.cs
- GraphicsContainer.cs
- CryptoHelper.cs
- EqualityArray.cs
- AlphabetConverter.cs
- PathSegment.cs
- MulticastIPAddressInformationCollection.cs
- WebPartTracker.cs
- GridLength.cs
- NotifyCollectionChangedEventArgs.cs
- UnsafeNativeMethodsPenimc.cs
- MarkerProperties.cs
- ControlParameter.cs
- SessionPageStatePersister.cs
- HttpWrapper.cs
- XsltSettings.cs
- TdsParserSessionPool.cs
- DeclaredTypeElement.cs
- ExtensibleClassFactory.cs
- Compilation.cs
- FormParameter.cs
- ActionItem.cs
- SoapObjectReader.cs
- SelectionPattern.cs
- NamespaceMapping.cs
- FixUpCollection.cs
- CodePropertyReferenceExpression.cs
- ThemeableAttribute.cs
- ClosableStream.cs
- SafeNativeMethods.cs
- HostedNamedPipeTransportManager.cs
- OptimalTextSource.cs
- HashSetDebugView.cs
- path.cs
- WebControlAdapter.cs
- DataGridViewControlCollection.cs
- HtmlControlPersistable.cs
- ToolZoneDesigner.cs
- XmlDocument.cs
- BindingContext.cs