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
- DefaultSection.cs
- ProvidersHelper.cs
- EventItfInfo.cs
- PenThread.cs
- PathData.cs
- ViewManagerAttribute.cs
- ValidatorCompatibilityHelper.cs
- BooleanExpr.cs
- DataGridViewComboBoxCell.cs
- LocalIdCollection.cs
- AncestorChangedEventArgs.cs
- EmptyEnumerable.cs
- SQLDecimalStorage.cs
- NullReferenceException.cs
- RayMeshGeometry3DHitTestResult.cs
- BufferedOutputStream.cs
- GridViewDeleteEventArgs.cs
- ExpressionEditorSheet.cs
- TagMapInfo.cs
- AssemblyInfo.cs
- SoapCodeExporter.cs
- ErrorFormatterPage.cs
- ObjectSpanRewriter.cs
- KeyTime.cs
- CodeTypeReferenceCollection.cs
- BinaryObjectWriter.cs
- TransactedBatchingElement.cs
- ObjectConverter.cs
- TextPatternIdentifiers.cs
- HttpCapabilitiesSectionHandler.cs
- WmpBitmapDecoder.cs
- TrackingSection.cs
- WinFormsUtils.cs
- NativeMethods.cs
- RectAnimationClockResource.cs
- ActivityValidationServices.cs
- SubtreeProcessor.cs
- GenericIdentity.cs
- EditorZone.cs
- AmbientLight.cs
- TriState.cs
- OutputCacheSettingsSection.cs
- SocketAddress.cs
- ParagraphVisual.cs
- ToolStripPanel.cs
- TextContainerChangeEventArgs.cs
- ToolStripOverflow.cs
- SqlRowUpdatingEvent.cs
- CodeMethodInvokeExpression.cs
- ToolStripDropDownItem.cs
- CodeEntryPointMethod.cs
- PersistChildrenAttribute.cs
- XmlSchemaSequence.cs
- ListCollectionView.cs
- MexHttpsBindingElement.cs
- DynamicResourceExtensionConverter.cs
- PropertyConverter.cs
- SQLByteStorage.cs
- GuidConverter.cs
- HttpValueCollection.cs
- RequestReplyCorrelator.cs
- Substitution.cs
- ObjectViewFactory.cs
- EntityDataSourceQueryBuilder.cs
- Int32RectValueSerializer.cs
- MetadataSource.cs
- TypeForwardedToAttribute.cs
- OrderByQueryOptionExpression.cs
- MsdtcWrapper.cs
- FileDialog.cs
- ToolBarTray.cs
- RelationshipEnd.cs
- WebPartMenuStyle.cs
- ControlParameter.cs
- WindowAutomationPeer.cs
- ParseChildrenAsPropertiesAttribute.cs
- ComboBoxItem.cs
- HttpRequestBase.cs
- ToolbarAUtomationPeer.cs
- XPathNavigatorException.cs
- odbcmetadatacollectionnames.cs
- CommonObjectSecurity.cs
- ReadOnlyTernaryTree.cs
- BufferedWebEventProvider.cs
- XamlReader.cs
- DebugInfo.cs
- LocalTransaction.cs
- DateTimeOffset.cs
- Terminate.cs
- XmlQualifiedName.cs
- Module.cs
- TypeUtils.cs
- SmtpMail.cs
- CheckPair.cs
- ContentPropertyAttribute.cs
- PolicyStatement.cs
- WmpBitmapEncoder.cs
- XamlReaderHelper.cs
- ServiceNameElement.cs
- _ServiceNameStore.cs