Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / MS / Internal / TraceShell.cs / 1305600 / TraceShell.cs
#define TRACE
//----------------------------------------------------------------------------
//
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//
// Description: Defines TraceShell class, for providing debugging information
// for Shell integration
//
//---------------------------------------------------------------------------
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 Shell integration features.
/// Helpers are defined here.
/// The rest of the class is generated; see also: AvTraceMessage.txt and genTraceStrings.pl
///
internal static partial class TraceShell
{
static TraceShell()
{
// 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 TraceShell class, for providing debugging information
// for Shell integration
//
//---------------------------------------------------------------------------
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 Shell integration features.
/// Helpers are defined here.
/// The rest of the class is generated; see also: AvTraceMessage.txt and genTraceStrings.pl
///
internal static partial class TraceShell
{
static TraceShell()
{
// 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
- FlowSwitchLink.cs
- ImageCodecInfo.cs
- StateChangeEvent.cs
- AuthorizationContext.cs
- MethodSignatureGenerator.cs
- DataControlFieldTypeEditor.cs
- HttpWrapper.cs
- DrawingVisual.cs
- PkcsUtils.cs
- FormattedText.cs
- PnrpPermission.cs
- OdbcFactory.cs
- ListenerElementsCollection.cs
- ToolbarAUtomationPeer.cs
- cookiecollection.cs
- Hex.cs
- MetadataUtilsSmi.cs
- TextDecoration.cs
- TextBox.cs
- HttpPostLocalhostServerProtocol.cs
- OptimalTextSource.cs
- Walker.cs
- ResourcePart.cs
- SiteMapHierarchicalDataSourceView.cs
- RegistryPermission.cs
- XmlUrlResolver.cs
- XPathParser.cs
- SafeNativeMethods.cs
- Panel.cs
- CodeDefaultValueExpression.cs
- SQLDateTimeStorage.cs
- IItemProperties.cs
- Size3D.cs
- KeyNotFoundException.cs
- namescope.cs
- ConsoleTraceListener.cs
- RegexTree.cs
- AnimatedTypeHelpers.cs
- EntityDataSourceView.cs
- ICspAsymmetricAlgorithm.cs
- IFormattable.cs
- PropertyMap.cs
- filewebrequest.cs
- DataBindingExpressionBuilder.cs
- BitStack.cs
- ConfigurationManagerInternal.cs
- DataGrid.cs
- followingquery.cs
- RIPEMD160.cs
- MarkupCompilePass1.cs
- SmtpAuthenticationManager.cs
- CompilationUtil.cs
- XmlWhitespace.cs
- TemplateContent.cs
- XmlDataLoader.cs
- XmlAggregates.cs
- SqlReorderer.cs
- ImageListImage.cs
- RetrieveVirtualItemEventArgs.cs
- Native.cs
- EntityStoreSchemaFilterEntry.cs
- WebRequestModuleElementCollection.cs
- DynamicRendererThreadManager.cs
- WrapPanel.cs
- SafeCryptContextHandle.cs
- GridViewRow.cs
- HwndSource.cs
- RequiredFieldValidator.cs
- HTMLTagNameToTypeMapper.cs
- AspCompat.cs
- SymbolUsageManager.cs
- MSAANativeProvider.cs
- PerformanceCounterPermissionAttribute.cs
- PerspectiveCamera.cs
- TargetPerspective.cs
- FreeFormDesigner.cs
- XPathArrayIterator.cs
- AssemblyCache.cs
- CodeMethodReturnStatement.cs
- TextFindEngine.cs
- XNameConverter.cs
- ParenthesizePropertyNameAttribute.cs
- TimeSpanOrInfiniteConverter.cs
- ToolStripSettings.cs
- BaseTemplateBuildProvider.cs
- AspNetHostingPermission.cs
- ThemeableAttribute.cs
- AspCompat.cs
- ManipulationCompletedEventArgs.cs
- dataprotectionpermissionattribute.cs
- TextBoxBase.cs
- WriteableBitmap.cs
- IssuanceLicense.cs
- SqlUdtInfo.cs
- TypedRowGenerator.cs
- AspProxy.cs
- CheckBoxDesigner.cs
- SiteMapNodeItem.cs
- GradientBrush.cs
- XPathMultyIterator.cs