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
- ObjectDataSourceView.cs
- ProviderManager.cs
- RemotingClientProxy.cs
- XmlCodeExporter.cs
- FastEncoder.cs
- CustomErrorCollection.cs
- PackWebRequest.cs
- SettingsPropertyIsReadOnlyException.cs
- StructuralType.cs
- ProfileSettingsCollection.cs
- ControlBuilder.cs
- Stack.cs
- DbInsertCommandTree.cs
- FormViewRow.cs
- filewebresponse.cs
- TextEffectCollection.cs
- EndOfStreamException.cs
- EdmEntityTypeAttribute.cs
- NodeLabelEditEvent.cs
- GridItem.cs
- EnumType.cs
- DATA_BLOB.cs
- OptimizedTemplateContent.cs
- XmlSchemaObjectCollection.cs
- PageAsyncTaskManager.cs
- MouseEventArgs.cs
- DefaultPropertyAttribute.cs
- BooleanToVisibilityConverter.cs
- NetMsmqSecurityElement.cs
- ReaderOutput.cs
- AssemblyNameProxy.cs
- SecurityDescriptor.cs
- EntityProviderFactory.cs
- HeaderPanel.cs
- TCPListener.cs
- OutKeywords.cs
- ForeignKeyConstraint.cs
- PlanCompiler.cs
- Debug.cs
- FieldNameLookup.cs
- WebBrowserHelper.cs
- CryptoApi.cs
- ValueConversionAttribute.cs
- listviewsubitemcollectioneditor.cs
- RouteParameter.cs
- SiteMapHierarchicalDataSourceView.cs
- EventLogPermissionAttribute.cs
- QueryPageSettingsEventArgs.cs
- ToolBarPanel.cs
- ComponentResourceKey.cs
- Aes.cs
- RIPEMD160Managed.cs
- TypeElement.cs
- ValidatorCollection.cs
- ItemCheckedEvent.cs
- XamlTypeMapper.cs
- MediaElement.cs
- XmlMemberMapping.cs
- CustomSignedXml.cs
- ColumnWidthChangedEvent.cs
- NotConverter.cs
- XmlSchemaImporter.cs
- sqlser.cs
- ContentType.cs
- DataGridViewRowStateChangedEventArgs.cs
- DrawItemEvent.cs
- WebPartDisplayModeCollection.cs
- ZipIOExtraFieldZip64Element.cs
- WizardPanel.cs
- GlobalProxySelection.cs
- CompositeFontFamily.cs
- ToolStripContentPanel.cs
- TiffBitmapEncoder.cs
- SqlCrossApplyToCrossJoin.cs
- MD5CryptoServiceProvider.cs
- ISCIIEncoding.cs
- ChunkedMemoryStream.cs
- ConnectionStringSettingsCollection.cs
- MetadataCache.cs
- CodePrimitiveExpression.cs
- WindowsTokenRoleProvider.cs
- HeaderElement.cs
- VideoDrawing.cs
- RepeatBehaviorConverter.cs
- FlowNode.cs
- BeginStoryboard.cs
- SqlTypeSystemProvider.cs
- CoTaskMemHandle.cs
- NestPullup.cs
- PointConverter.cs
- UserPreferenceChangedEventArgs.cs
- CanExecuteRoutedEventArgs.cs
- Stroke.cs
- Brush.cs
- Statements.cs
- RangeValidator.cs
- Panel.cs
- ShapingWorkspace.cs
- PerspectiveCamera.cs
- HttpCacheParams.cs