Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- PopupControlService.cs
- QilCloneVisitor.cs
- GridViewCellAutomationPeer.cs
- ShaperBuffers.cs
- GPStream.cs
- Win32.cs
- ExtensibleClassFactory.cs
- CompensationParticipant.cs
- RequestNavigateEventArgs.cs
- ClientSideProviderDescription.cs
- AdornerHitTestResult.cs
- LicenseException.cs
- EntityDataSourceState.cs
- GridItemCollection.cs
- OverlappedAsyncResult.cs
- EventMappingSettings.cs
- IItemProperties.cs
- GuidTagList.cs
- SelectionProviderWrapper.cs
- AppDomainGrammarProxy.cs
- webbrowsersite.cs
- RewritingPass.cs
- CodeDirectoryCompiler.cs
- InvalidContentTypeException.cs
- EntityException.cs
- SoapSchemaMember.cs
- __ComObject.cs
- SmtpLoginAuthenticationModule.cs
- PropertyKey.cs
- ManagedWndProcTracker.cs
- TraceFilter.cs
- LocalizableResourceBuilder.cs
- BuildResult.cs
- InheritedPropertyChangedEventArgs.cs
- TimeSpanOrInfiniteValidator.cs
- ComponentDispatcher.cs
- HttpValueCollection.cs
- FlowDocumentReaderAutomationPeer.cs
- XmlUtilWriter.cs
- CompiledRegexRunnerFactory.cs
- TranslateTransform.cs
- FreeFormDesigner.cs
- ConfigurationPropertyAttribute.cs
- ClientUtils.cs
- PersonalizationAdministration.cs
- ScriptComponentDescriptor.cs
- ProbeRequestResponseAsyncResult.cs
- RegexCapture.cs
- QuadraticBezierSegment.cs
- BuildProviderCollection.cs
- ComponentChangedEvent.cs
- SmtpSection.cs
- AsymmetricSecurityBindingElement.cs
- Pair.cs
- Material.cs
- SelectedDatesCollection.cs
- SafeProcessHandle.cs
- SurrogateEncoder.cs
- ConfigurationPermission.cs
- DaylightTime.cs
- ZoneButton.cs
- ComboBox.cs
- MethodAccessException.cs
- ServerIdentity.cs
- UIElementCollection.cs
- SplashScreen.cs
- storepermission.cs
- PackageRelationshipCollection.cs
- WebPartExportVerb.cs
- ProfileGroupSettingsCollection.cs
- XmlDataSourceView.cs
- CreateUserWizardStep.cs
- XPathNavigatorKeyComparer.cs
- MouseDevice.cs
- EventLogEntryCollection.cs
- SafeHandles.cs
- BasicHttpBindingCollectionElement.cs
- XmlDocument.cs
- FixedSOMTableCell.cs
- DesignerVerbCollection.cs
- UniformGrid.cs
- TimeZone.cs
- ListDictionary.cs
- WindowsTreeView.cs
- documentsequencetextview.cs
- PageCache.cs
- Int16KeyFrameCollection.cs
- DBSqlParserColumn.cs
- CodeValidator.cs
- AdjustableArrowCap.cs
- HtmlTernaryTree.cs
- ControlCachePolicy.cs
- HttpListenerException.cs
- CustomSignedXml.cs
- StylusSystemGestureEventArgs.cs
- SerializationFieldInfo.cs
- InkCollectionBehavior.cs
- LinqTreeNodeEvaluator.cs
- ImageMap.cs
- ToolBarButtonClickEvent.cs