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
- SecurityRuntime.cs
- CacheOutputQuery.cs
- Transform.cs
- UDPClient.cs
- SignedInfo.cs
- Misc.cs
- Component.cs
- InternalBase.cs
- DeleteCardRequest.cs
- AlphabeticalEnumConverter.cs
- TypeDelegator.cs
- OdbcTransaction.cs
- BitmapEffectState.cs
- ProtocolsConfigurationEntry.cs
- RoleBoolean.cs
- FixUp.cs
- ToolZoneDesigner.cs
- TypeNameHelper.cs
- XPathItem.cs
- ToolStripButton.cs
- FlowPanelDesigner.cs
- WebPartManagerInternals.cs
- JsonFormatReaderGenerator.cs
- PrintController.cs
- StopRoutingHandler.cs
- ResourceExpressionEditor.cs
- TemplatePagerField.cs
- WindowsGraphicsWrapper.cs
- GeometryCollection.cs
- XmlNamespaceManager.cs
- DropShadowBitmapEffect.cs
- ContentPosition.cs
- BaseValidator.cs
- SqlProcedureAttribute.cs
- TextBlock.cs
- SecurityToken.cs
- XsltCompileContext.cs
- ReturnEventArgs.cs
- CqlErrorHelper.cs
- XmlIlTypeHelper.cs
- PermissionAttributes.cs
- Header.cs
- HttpRequestContext.cs
- TreeViewImageKeyConverter.cs
- BamlRecordWriter.cs
- EventlogProvider.cs
- DataGridRowEventArgs.cs
- WebPartManagerInternals.cs
- TypefaceMetricsCache.cs
- PasswordRecoveryAutoFormat.cs
- WebPartPersonalization.cs
- X509Certificate2Collection.cs
- Int16Storage.cs
- RequestSecurityTokenSerializer.cs
- CommandHelper.cs
- ServiceDescriptions.cs
- XmlNullResolver.cs
- AnimationClock.cs
- ObjectSecurity.cs
- CompositeFontInfo.cs
- SetterTriggerConditionValueConverter.cs
- XmlnsDefinitionAttribute.cs
- QilScopedVisitor.cs
- RtType.cs
- XsdBuilder.cs
- CheckPair.cs
- _NestedMultipleAsyncResult.cs
- invalidudtexception.cs
- AssociationTypeEmitter.cs
- MatchingStyle.cs
- DbSourceParameterCollection.cs
- BuildResult.cs
- OlePropertyStructs.cs
- DataControlLinkButton.cs
- MessageDispatch.cs
- PermissionSetTriple.cs
- CustomErrorsSection.cs
- SymbolMethod.cs
- TreeBuilder.cs
- VisualBrush.cs
- MethodSignatureGenerator.cs
- DetailsViewDeleteEventArgs.cs
- HttpResponseInternalBase.cs
- AdjustableArrowCap.cs
- DataServiceRequestArgs.cs
- x509utils.cs
- CodeTypeMemberCollection.cs
- FormsAuthenticationUserCollection.cs
- DoubleLinkListEnumerator.cs
- SerializationStore.cs
- ProfessionalColorTable.cs
- XmlDesignerDataSourceView.cs
- AxisAngleRotation3D.cs
- SqlCommandBuilder.cs
- TreeViewDesigner.cs
- MediaContext.cs
- Crc32Helper.cs
- StaticFileHandler.cs
- Substitution.cs
- MetadataItemEmitter.cs