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
- GridViewRowEventArgs.cs
- ImageList.cs
- SortAction.cs
- SecurityUniqueId.cs
- ForceCopyBuildProvider.cs
- WebPartChrome.cs
- SettingsPropertyWrongTypeException.cs
- MetadataStore.cs
- KnownTypesProvider.cs
- BitmapEffectRenderDataResource.cs
- ToolStripDropDownClosingEventArgs.cs
- UInt32Storage.cs
- ErrorFormatter.cs
- UndoUnit.cs
- AppPool.cs
- MailMessage.cs
- RawStylusInput.cs
- ListItem.cs
- LoadRetryAsyncResult.cs
- FixedFlowMap.cs
- TabControlCancelEvent.cs
- InnerItemCollectionView.cs
- DbParameterHelper.cs
- TokenBasedSetEnumerator.cs
- Matrix.cs
- listitem.cs
- InvalidDataException.cs
- DataGridViewToolTip.cs
- Identity.cs
- FileEnumerator.cs
- StorageAssociationSetMapping.cs
- DataGridTextColumn.cs
- assemblycache.cs
- XmlAutoDetectWriter.cs
- Update.cs
- UpdatePanelTriggerCollection.cs
- ObservableDictionary.cs
- ThreadStaticAttribute.cs
- InternalEnumValidator.cs
- UniqueConstraint.cs
- ClassValidator.cs
- TextBox.cs
- FixedSOMTableCell.cs
- QueryAccessibilityHelpEvent.cs
- httpapplicationstate.cs
- TextPenaltyModule.cs
- URLAttribute.cs
- WebPartChrome.cs
- LookupNode.cs
- SqlEnums.cs
- DataServiceHostFactory.cs
- ClientTargetSection.cs
- ResourceBinder.cs
- HierarchicalDataSourceControl.cs
- XmlCharType.cs
- CharStorage.cs
- TextPatternIdentifiers.cs
- ValidationEventArgs.cs
- HeaderElement.cs
- StylusPointProperties.cs
- ScalarType.cs
- XhtmlBasicPageAdapter.cs
- CatalogPartCollection.cs
- DeclaredTypeValidator.cs
- EntityContainerRelationshipSetEnd.cs
- EventBuilder.cs
- TextTabProperties.cs
- ValuePattern.cs
- SqlUtil.cs
- DynamicDataResources.Designer.cs
- SecurityPolicySection.cs
- PropertyStore.cs
- Int32CollectionValueSerializer.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- DetailsViewInsertedEventArgs.cs
- DataSourceCache.cs
- Html32TextWriter.cs
- FormViewPagerRow.cs
- ViewUtilities.cs
- ToolBarOverflowPanel.cs
- PasswordDeriveBytes.cs
- TemplateKey.cs
- HwndSourceKeyboardInputSite.cs
- DataGridViewComboBoxColumn.cs
- CapabilitiesState.cs
- ReadOnlyObservableCollection.cs
- DataSetMappper.cs
- __ConsoleStream.cs
- BuilderPropertyEntry.cs
- GroupBox.cs
- HtmlMeta.cs
- DrawingCollection.cs
- Single.cs
- WasHttpHandlersInstallComponent.cs
- MetadataCacheItem.cs
- View.cs
- SqlParameterizer.cs
- Facet.cs
- LineInfo.cs
- Int32.cs