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
- RegexCode.cs
- CacheEntry.cs
- MultiDataTrigger.cs
- RemotingConfiguration.cs
- GregorianCalendar.cs
- SRGSCompiler.cs
- PropertyItemInternal.cs
- Crypto.cs
- ServicePointManagerElement.cs
- OverflowException.cs
- returneventsaver.cs
- SqlConnection.cs
- GroupItem.cs
- AssociationType.cs
- TdsParserSessionPool.cs
- AnimationClock.cs
- SqlCacheDependencySection.cs
- TextSimpleMarkerProperties.cs
- FrameworkObject.cs
- ServiceNameElementCollection.cs
- LineBreakRecord.cs
- PointAnimationClockResource.cs
- TextBoxView.cs
- RawStylusInputCustomData.cs
- HostedHttpRequestAsyncResult.cs
- DataListDesigner.cs
- InstanceStoreQueryResult.cs
- FontCollection.cs
- MimeFormReflector.cs
- BaseParaClient.cs
- TargetControlTypeAttribute.cs
- IntegrationExceptionEventArgs.cs
- PackageFilter.cs
- GcHandle.cs
- WinFormsSecurity.cs
- KeyFrames.cs
- CookieProtection.cs
- FilePrompt.cs
- X509ClientCertificateCredentialsElement.cs
- HoistedLocals.cs
- StreamGeometry.cs
- ScriptResourceHandler.cs
- WebPartPersonalization.cs
- XmlSchemaSet.cs
- WebPartDisplayModeCollection.cs
- Mappings.cs
- RadioButtonRenderer.cs
- CultureTable.cs
- ToolStripSplitButton.cs
- WindowsScrollBarBits.cs
- Point.cs
- ExtensionDataObject.cs
- TextSelectionProcessor.cs
- TypeInfo.cs
- DataSetMappper.cs
- XMLUtil.cs
- GradientBrush.cs
- GeneralEndpointIdentity.cs
- LineServicesCallbacks.cs
- GridViewSortEventArgs.cs
- EventProxy.cs
- FlowLayoutSettings.cs
- SqlClientWrapperSmiStreamChars.cs
- ContainsRowNumberChecker.cs
- BuildProvider.cs
- XPathSelectionIterator.cs
- SettingsPropertyIsReadOnlyException.cs
- FixedTextView.cs
- SourceElementsCollection.cs
- CodePageEncoding.cs
- StickyNoteAnnotations.cs
- CodeTypeDeclarationCollection.cs
- ConvertersCollection.cs
- ComponentDispatcher.cs
- IdnMapping.cs
- InkSerializer.cs
- RoutedUICommand.cs
- FixedSOMPage.cs
- PrimitiveXmlSerializers.cs
- ExecutionEngineException.cs
- ControlPager.cs
- DashStyles.cs
- MetadataCache.cs
- TagPrefixInfo.cs
- Material.cs
- ImageMetadata.cs
- Encoder.cs
- TickBar.cs
- WebPartManagerDesigner.cs
- ApplicationHost.cs
- SQLInt16Storage.cs
- _ProxyChain.cs
- SqlVersion.cs
- WeakReferenceEnumerator.cs
- ItemAutomationPeer.cs
- DesignerHierarchicalDataSourceView.cs
- ArgumentOutOfRangeException.cs
- BindingMemberInfo.cs
- FixedTextSelectionProcessor.cs
- RadialGradientBrush.cs