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
- UrlAuthFailedErrorFormatter.cs
- JpegBitmapEncoder.cs
- DebugView.cs
- ProxyFragment.cs
- VisualBrush.cs
- AssemblyCacheEntry.cs
- ISAPIWorkerRequest.cs
- LinearGradientBrush.cs
- ProgressiveCrcCalculatingStream.cs
- SmiRequestExecutor.cs
- Action.cs
- SoapReflector.cs
- PnrpPeerResolverBindingElement.cs
- DictionaryBase.cs
- FormatException.cs
- QueryHandler.cs
- propertyentry.cs
- ConnectionManagementElementCollection.cs
- SmtpCommands.cs
- LastQueryOperator.cs
- KerberosRequestorSecurityToken.cs
- ViewValidator.cs
- ContextMenuStrip.cs
- BooleanExpr.cs
- AttributeSetAction.cs
- EventLogPermissionAttribute.cs
- PersonalizationStateQuery.cs
- SudsCommon.cs
- ValidationHelper.cs
- MimeObjectFactory.cs
- XmlSerializationReader.cs
- DynamicResourceExtension.cs
- DBCommandBuilder.cs
- Mutex.cs
- TextureBrush.cs
- TextEditorCharacters.cs
- ResXDataNode.cs
- EventWaitHandleSecurity.cs
- PropertyItem.cs
- ItemChangedEventArgs.cs
- Expander.cs
- FactoryRecord.cs
- TextFragmentEngine.cs
- CapabilitiesSection.cs
- AccessDataSource.cs
- ValidationPropertyAttribute.cs
- ProfileService.cs
- ImageSourceConverter.cs
- ControlUtil.cs
- BitmapEffectInput.cs
- SiteMapNodeCollection.cs
- BamlRecords.cs
- DelegatingHeader.cs
- ConfigXmlSignificantWhitespace.cs
- XPathAncestorQuery.cs
- NonParentingControl.cs
- Console.cs
- PropertyKey.cs
- GenericPrincipal.cs
- TextOutput.cs
- shaperfactory.cs
- SpoolingTaskBase.cs
- X509CertificateTrustedIssuerElementCollection.cs
- ComponentCodeDomSerializer.cs
- RewritingPass.cs
- ModelTreeEnumerator.cs
- CounterSampleCalculator.cs
- UnsafeNativeMethods.cs
- HtmlInputButton.cs
- BamlRecords.cs
- ValidatorCollection.cs
- FunctionImportElement.cs
- TextServicesCompartment.cs
- NamedObject.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- SqlDataReader.cs
- PackageDigitalSignatureManager.cs
- WhitespaceRuleReader.cs
- HostingEnvironmentSection.cs
- Double.cs
- RoutedUICommand.cs
- SecureEnvironment.cs
- WebRequestModuleElement.cs
- DeflateEmulationStream.cs
- Vector.cs
- HtmlEncodedRawTextWriter.cs
- XmlDownloadManager.cs
- UrlMappingCollection.cs
- XmlUtil.cs
- ResumeStoryboard.cs
- XmlEventCache.cs
- CodeMemberProperty.cs
- dataSvcMapFileLoader.cs
- SendMailErrorEventArgs.cs
- RawStylusInput.cs
- SocketAddress.cs
- UnsafeNativeMethods.cs
- NativeStructs.cs
- SqlReferenceCollection.cs
- WsdlBuildProvider.cs