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
- MD5CryptoServiceProvider.cs
- OrderPreservingPipeliningSpoolingTask.cs
- KeyboardEventArgs.cs
- MailAddress.cs
- BaseValidator.cs
- EditorZone.cs
- ProcessHostFactoryHelper.cs
- HtmlInputFile.cs
- WebDescriptionAttribute.cs
- PageTextBox.cs
- DoWorkEventArgs.cs
- Walker.cs
- DocComment.cs
- DiagnosticsConfiguration.cs
- OSEnvironmentHelper.cs
- XPathArrayIterator.cs
- UserControl.cs
- RawStylusSystemGestureInputReport.cs
- CustomTrackingRecord.cs
- SelectionRange.cs
- DateBoldEvent.cs
- RegionData.cs
- PlacementWorkspace.cs
- MetadataItem.cs
- PrintPreviewDialog.cs
- TabControlAutomationPeer.cs
- TypeUtils.cs
- Int16AnimationUsingKeyFrames.cs
- XmlWrappingReader.cs
- MsmqInputSessionChannel.cs
- TextSpanModifier.cs
- XmlUtil.cs
- TextSpanModifier.cs
- Site.cs
- Repeater.cs
- SpellerHighlightLayer.cs
- CanExecuteRoutedEventArgs.cs
- KeyValuePair.cs
- Listbox.cs
- SqlBuilder.cs
- Highlights.cs
- TableProvider.cs
- PseudoWebRequest.cs
- ComplexTypeEmitter.cs
- ScrollPattern.cs
- ItemContainerGenerator.cs
- SizeChangedEventArgs.cs
- ColumnMapProcessor.cs
- HostingEnvironment.cs
- TextSpanModifier.cs
- ContextConfiguration.cs
- Processor.cs
- LinqDataSourceContextEventArgs.cs
- OleDbTransaction.cs
- QueueProcessor.cs
- _NestedSingleAsyncResult.cs
- ControlBindingsCollection.cs
- counter.cs
- PipelineModuleStepContainer.cs
- CollectionCodeDomSerializer.cs
- Configuration.cs
- TextElementEnumerator.cs
- WebHeaderCollection.cs
- BaseTemplateCodeDomTreeGenerator.cs
- precedingsibling.cs
- ExtensionDataReader.cs
- DesignerHelpers.cs
- PixelFormatConverter.cs
- KeyValuePairs.cs
- StickyNoteHelper.cs
- RadioButtonList.cs
- FreeFormDragDropManager.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- HybridWebProxyFinder.cs
- SendActivityEventArgs.cs
- StrokeNodeOperations.cs
- ConfigurationException.cs
- DataGridRow.cs
- InstanceDataCollection.cs
- DataGridDesigner.cs
- VideoDrawing.cs
- WindowsBrush.cs
- DeploymentSection.cs
- SelectionEditor.cs
- ViewSimplifier.cs
- HebrewCalendar.cs
- FieldTemplateUserControl.cs
- TreeView.cs
- SqlCacheDependencySection.cs
- DataObjectCopyingEventArgs.cs
- HMACSHA256.cs
- SecurityTokenInclusionMode.cs
- EncoderParameter.cs
- CheckBoxPopupAdapter.cs
- InstancePersistenceEvent.cs
- DataGridViewEditingControlShowingEventArgs.cs
- cookiecontainer.cs
- EntityDataSourceMemberPath.cs
- ProvidersHelper.cs
- RangeValuePatternIdentifiers.cs