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
- XamlValidatingReader.cs
- SecurityPermission.cs
- CategoryGridEntry.cs
- AutomationPropertyInfo.cs
- StaticDataManager.cs
- StringToken.cs
- FixedSOMTableCell.cs
- MetabaseServerConfig.cs
- IImplicitResourceProvider.cs
- TraceSection.cs
- X509Certificate2.cs
- ShutDownListener.cs
- Maps.cs
- WindowPattern.cs
- PrimaryKeyTypeConverter.cs
- PathFigureCollection.cs
- CustomAttributeSerializer.cs
- MediaElement.cs
- ProfessionalColors.cs
- ReplyAdapterChannelListener.cs
- NullableIntAverageAggregationOperator.cs
- ImageAutomationPeer.cs
- SelectionProviderWrapper.cs
- MaskedTextBoxDesignerActionList.cs
- Environment.cs
- XPathNavigator.cs
- EtwTrace.cs
- Regex.cs
- ObjRef.cs
- ToolStripManager.cs
- VarRemapper.cs
- TargetConverter.cs
- Timer.cs
- FontStretch.cs
- UiaCoreProviderApi.cs
- ErrorStyle.cs
- SimpleColumnProvider.cs
- CompoundFileStorageReference.cs
- ContextMenu.cs
- PostBackOptions.cs
- PreparingEnlistment.cs
- DecoratedNameAttribute.cs
- WebGetAttribute.cs
- InvokeGenerator.cs
- UserNameSecurityTokenProvider.cs
- GenericPrincipal.cs
- StateRuntime.cs
- AudioFormatConverter.cs
- PrintingPermission.cs
- TypeInitializationException.cs
- SmtpAuthenticationManager.cs
- StringSource.cs
- ParameterInfo.cs
- CalendarDay.cs
- ProtocolViolationException.cs
- DynamicResourceExtension.cs
- XmlUtil.cs
- Tuple.cs
- TextBox.cs
- NamespaceExpr.cs
- DynamicDiscoveryDocument.cs
- WrappedIUnknown.cs
- CTreeGenerator.cs
- Menu.cs
- mil_commands.cs
- ItemDragEvent.cs
- PropertyInformationCollection.cs
- Options.cs
- mansign.cs
- EncryptedKey.cs
- DataKeyCollection.cs
- SafeFileMappingHandle.cs
- ListItem.cs
- AssemblyNameProxy.cs
- DBSqlParser.cs
- TraceUtility.cs
- DtrList.cs
- SourceFilter.cs
- SelectedDatesCollection.cs
- HtmlTableCellCollection.cs
- LexicalChunk.cs
- SHA256Managed.cs
- NetMsmqSecurityElement.cs
- ImageField.cs
- DelegateBodyWriter.cs
- DataGridViewRowPrePaintEventArgs.cs
- JsonDataContract.cs
- InvalidAsynchronousStateException.cs
- FlagsAttribute.cs
- WrapPanel.cs
- TextPattern.cs
- CommonProperties.cs
- VisualStyleInformation.cs
- RequestQueue.cs
- XmlParser.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- SchemaNamespaceManager.cs
- ObjectItemCollection.cs
- ReversePositionQuery.cs
- ColorMatrix.cs