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
- DataGridItemEventArgs.cs
- TypeCollectionDesigner.xaml.cs
- PassportAuthenticationEventArgs.cs
- COM2TypeInfoProcessor.cs
- CustomWebEventKey.cs
- PrinterResolution.cs
- DataGridViewColumnStateChangedEventArgs.cs
- XmlSchemaObjectTable.cs
- XLinq.cs
- DataGridViewHitTestInfo.cs
- DeclaredTypeValidatorAttribute.cs
- XmlHierarchicalEnumerable.cs
- MimeParameterWriter.cs
- FontFamilyConverter.cs
- XmlValidatingReaderImpl.cs
- DropDownList.cs
- Attributes.cs
- ClientScriptManagerWrapper.cs
- CodeSnippetExpression.cs
- _ConnectionGroup.cs
- OdbcRowUpdatingEvent.cs
- ColorConvertedBitmapExtension.cs
- ExpressionHelper.cs
- Msmq4PoisonHandler.cs
- ObjectDataSourceEventArgs.cs
- MorphHelper.cs
- XamlBrushSerializer.cs
- ConstrainedDataObject.cs
- ADRoleFactory.cs
- BCryptSafeHandles.cs
- RoleBoolean.cs
- ScriptingAuthenticationServiceSection.cs
- RuntimeIdentifierPropertyAttribute.cs
- SessionState.cs
- SqlConnectionStringBuilder.cs
- UrlMappingsModule.cs
- XmlPropertyBag.cs
- PageThemeParser.cs
- Section.cs
- DataExpression.cs
- MultiAsyncResult.cs
- ControlParameter.cs
- XsltCompileContext.cs
- SafeEventLogWriteHandle.cs
- ResourceManager.cs
- ColorConvertedBitmap.cs
- EditingScopeUndoUnit.cs
- PageThemeCodeDomTreeGenerator.cs
- WindowsPen.cs
- RegexGroupCollection.cs
- LateBoundBitmapDecoder.cs
- XmlSignatureManifest.cs
- FileInfo.cs
- SpanIndex.cs
- XmlHierarchicalDataSourceView.cs
- CopyOnWriteList.cs
- PointLightBase.cs
- ScrollBarRenderer.cs
- SafeNativeMethodsCLR.cs
- _RequestCacheProtocol.cs
- RemotingAttributes.cs
- MouseButtonEventArgs.cs
- AutomationTextAttribute.cs
- AssemblyNameProxy.cs
- VirtualizingStackPanel.cs
- LogSwitch.cs
- EllipseGeometry.cs
- NavigationHelper.cs
- sqlser.cs
- SBCSCodePageEncoding.cs
- WmpBitmapEncoder.cs
- HttpCapabilitiesSectionHandler.cs
- HeaderElement.cs
- HtmlInputHidden.cs
- recordstatescratchpad.cs
- WindowsStartMenu.cs
- Util.cs
- CssStyleCollection.cs
- Int16Storage.cs
- OracleTransaction.cs
- WebMessageEncodingBindingElement.cs
- SearchForVirtualItemEventArgs.cs
- ClientTargetCollection.cs
- AccessViolationException.cs
- CheckBoxBaseAdapter.cs
- _TransmitFileOverlappedAsyncResult.cs
- AssemblyAttributesGoHere.cs
- TextTreeUndo.cs
- ParseChildrenAsPropertiesAttribute.cs
- UInt16Storage.cs
- MappingMetadataHelper.cs
- OdbcUtils.cs
- DirtyTextRange.cs
- BaseCollection.cs
- DocumentOrderQuery.cs
- SerializationEventsCache.cs
- MemoryPressure.cs
- ByteStreamGeometryContext.cs
- DataGridViewCellValidatingEventArgs.cs
- SelectedCellsCollection.cs