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
- XmlEncoding.cs
- WindowHelperService.cs
- TypeGeneratedEventArgs.cs
- DiscoveryOperationContextExtension.cs
- ServiceDebugBehavior.cs
- RowCache.cs
- ViewValidator.cs
- XmlAttributeProperties.cs
- selecteditemcollection.cs
- AutomationElement.cs
- XmlWriterTraceListener.cs
- ResizeGrip.cs
- GridViewSortEventArgs.cs
- EnterpriseServicesHelper.cs
- SqlDataSourceStatusEventArgs.cs
- Message.cs
- DrawingContextDrawingContextWalker.cs
- Attributes.cs
- SurrogateSelector.cs
- DragEventArgs.cs
- KeyBinding.cs
- RankException.cs
- FileReader.cs
- WorkflowServiceHost.cs
- FormViewCommandEventArgs.cs
- TableLayoutPanel.cs
- HtmlAnchor.cs
- ContentOperations.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- MarkupProperty.cs
- ProcessThread.cs
- UnitySerializationHolder.cs
- LifetimeServices.cs
- assertwrapper.cs
- HttpCacheVaryByContentEncodings.cs
- GridViewRowEventArgs.cs
- FrameworkElement.cs
- MethodCallExpression.cs
- ModuleConfigurationInfo.cs
- recordstatefactory.cs
- WindowsListViewItem.cs
- HostSecurityManager.cs
- StandardBindingElement.cs
- NativeCppClassAttribute.cs
- UInt64.cs
- TiffBitmapDecoder.cs
- ExplicitDiscriminatorMap.cs
- ResXResourceReader.cs
- CodePropertyReferenceExpression.cs
- ContractDescription.cs
- ObjectHandle.cs
- PerfProviderCollection.cs
- SafeTimerHandle.cs
- XPathNodeHelper.cs
- Encoder.cs
- TypeUtil.cs
- PropertyPathConverter.cs
- Size.cs
- WpfMemberInvoker.cs
- System.Data.OracleClient_BID.cs
- DirtyTextRange.cs
- NumberFormatter.cs
- ParameterSubsegment.cs
- MissingMemberException.cs
- XmlTextAttribute.cs
- DeploymentSection.cs
- ValidatingReaderNodeData.cs
- XmlBaseWriter.cs
- Point3D.cs
- TargetControlTypeAttribute.cs
- DataPointer.cs
- ObjectQueryExecutionPlan.cs
- BamlStream.cs
- DateTimePicker.cs
- Speller.cs
- SQLBinary.cs
- CompilationPass2Task.cs
- EnumerableWrapperWeakToStrong.cs
- EventProviderTraceListener.cs
- wgx_render.cs
- Parameter.cs
- LogReserveAndAppendState.cs
- BufferAllocator.cs
- WindowsListViewItemCheckBox.cs
- ResourceDescriptionAttribute.cs
- XmlSchemaAnnotation.cs
- PngBitmapEncoder.cs
- DataObjectAttribute.cs
- ListParaClient.cs
- CodeTypeParameterCollection.cs
- MemoryPressure.cs
- PointAnimation.cs
- BooleanConverter.cs
- __ConsoleStream.cs
- CngKey.cs
- SharedStatics.cs
- AttachedAnnotation.cs
- EventProxy.cs
- SQLDateTimeStorage.cs
- MessageQueueCriteria.cs