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
- ToolStripDesignerAvailabilityAttribute.cs
- SchemaNamespaceManager.cs
- TabletDeviceInfo.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- ScalarType.cs
- BitmapFrameEncode.cs
- PageHandlerFactory.cs
- EventListener.cs
- DataRowChangeEvent.cs
- HandlerFactoryWrapper.cs
- DateTimeConstantAttribute.cs
- DesignTimeVisibleAttribute.cs
- PenLineJoinValidation.cs
- ConnectionStringsExpressionBuilder.cs
- SecurityResources.cs
- ExpressionEditor.cs
- SystemWebExtensionsSectionGroup.cs
- SyntaxCheck.cs
- TreeNodeStyleCollection.cs
- WindowAutomationPeer.cs
- FloaterParagraph.cs
- ToolboxItemAttribute.cs
- OutputCacheEntry.cs
- TableParaClient.cs
- XmlElementAttribute.cs
- PersianCalendar.cs
- ListViewTableRow.cs
- GridLengthConverter.cs
- ZoomPercentageConverter.cs
- XmlChildEnumerator.cs
- assemblycache.cs
- DrawingContextWalker.cs
- CookielessHelper.cs
- CodeTypeParameterCollection.cs
- pingexception.cs
- SchemeSettingElementCollection.cs
- APCustomTypeDescriptor.cs
- XmlTypeMapping.cs
- Error.cs
- EdmSchemaError.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- EntityType.cs
- ResourceIDHelper.cs
- MimeTypeMapper.cs
- RelationalExpressions.cs
- DictionaryGlobals.cs
- ObjectItemLoadingSessionData.cs
- RegionIterator.cs
- DataSourceCacheDurationConverter.cs
- SoapSchemaImporter.cs
- BufferModesCollection.cs
- ConsoleKeyInfo.cs
- TypefaceMap.cs
- ModulesEntry.cs
- ValidatingReaderNodeData.cs
- ContourSegment.cs
- ProviderIncompatibleException.cs
- TableLayoutSettings.cs
- SerializationException.cs
- ToolboxCategory.cs
- HtmlInputSubmit.cs
- WindowsAuthenticationModule.cs
- DbProviderFactory.cs
- ScriptingSectionGroup.cs
- EnumUnknown.cs
- XmlUtil.cs
- SafeNativeMethods.cs
- InstanceData.cs
- DataContractSerializerOperationGenerator.cs
- OracleDataAdapter.cs
- ComponentCollection.cs
- ListCardsInFileRequest.cs
- Soap12ServerProtocol.cs
- MetadataArtifactLoaderFile.cs
- ComEventsMethod.cs
- OrderByBuilder.cs
- CodeParameterDeclarationExpression.cs
- CodeDomConfigurationHandler.cs
- VersionedStreamOwner.cs
- Validator.cs
- OracleCommand.cs
- AuthorizationSection.cs
- ViewCellRelation.cs
- PathStreamGeometryContext.cs
- CodeStatementCollection.cs
- MiniMapControl.xaml.cs
- XmlStreamStore.cs
- WebEncodingValidatorAttribute.cs
- safelink.cs
- RuntimeArgumentHandle.cs
- FormsAuthenticationTicket.cs
- DropDownButton.cs
- Int16Converter.cs
- GPRECTF.cs
- DropSource.cs
- CustomAttributeBuilder.cs
- PermissionSetEnumerator.cs
- XmlSchemaGroup.cs
- XNodeNavigator.cs
- IndexerNameAttribute.cs