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
- ServicePointManager.cs
- BorderSidesEditor.cs
- ProgressBarHighlightConverter.cs
- XPathSingletonIterator.cs
- SerialErrors.cs
- SqlNotificationEventArgs.cs
- OLEDB_Util.cs
- DataGridViewLayoutData.cs
- OleDbParameterCollection.cs
- BooleanFacetDescriptionElement.cs
- AnimationLayer.cs
- SafeNativeMethodsMilCoreApi.cs
- UiaCoreTypesApi.cs
- SettingsProviderCollection.cs
- ToolStripItemCollection.cs
- TokenizerHelper.cs
- Resources.Designer.cs
- StreamReader.cs
- CachedPathData.cs
- OperatorExpressions.cs
- DispatchProxy.cs
- SimpleBitVector32.cs
- UnsafeNativeMethods.cs
- MultiSelector.cs
- PropertyChangedEventManager.cs
- FontUnit.cs
- XmlUTF8TextWriter.cs
- xamlnodes.cs
- RegisteredDisposeScript.cs
- MobileErrorInfo.cs
- BatchWriter.cs
- DataGridViewDataErrorEventArgs.cs
- DateTimeParse.cs
- ApplicationActivator.cs
- TemplateLookupAction.cs
- XmlNodeList.cs
- StreamWriter.cs
- Int32Converter.cs
- EmissiveMaterial.cs
- RadialGradientBrush.cs
- DragAssistanceManager.cs
- PerformanceCounterPermission.cs
- ContextMenu.cs
- AliasGenerator.cs
- DLinqDataModelProvider.cs
- DataContractSerializerSection.cs
- DefaultAsyncDataDispatcher.cs
- entityreference_tresulttype.cs
- ComponentEditorPage.cs
- ColumnBinding.cs
- StatusBarDesigner.cs
- GeneralTransformCollection.cs
- ProfileGroupSettingsCollection.cs
- ConnectionManagementElementCollection.cs
- BigInt.cs
- ExpandoClass.cs
- EnumConverter.cs
- OrCondition.cs
- _NegotiateClient.cs
- SweepDirectionValidation.cs
- SystemIcons.cs
- SchemaSetCompiler.cs
- sqlnorm.cs
- GridViewItemAutomationPeer.cs
- XmlSchemaAttributeGroupRef.cs
- DomainConstraint.cs
- ContainerControl.cs
- PathGeometry.cs
- CellPartitioner.cs
- ClientProxyGenerator.cs
- GeneralTransform2DTo3DTo2D.cs
- ServiceModelStringsVersion1.cs
- ErrorRuntimeConfig.cs
- AggregationMinMaxHelpers.cs
- SBCSCodePageEncoding.cs
- FileVersionInfo.cs
- DataGridViewSelectedRowCollection.cs
- DoubleStorage.cs
- OdbcRowUpdatingEvent.cs
- TypeGeneratedEventArgs.cs
- DataRecordInternal.cs
- ToolTip.cs
- ContextBase.cs
- MainMenu.cs
- XPathAxisIterator.cs
- WebPartConnection.cs
- BindableAttribute.cs
- BufferedGraphicsContext.cs
- RightsManagementInformation.cs
- ResourceAttributes.cs
- Filter.cs
- SystemIdentity.cs
- MobileSysDescriptionAttribute.cs
- StateMachineSubscription.cs
- ConfigXmlCDataSection.cs
- RankException.cs
- OciHandle.cs
- SQLRoleProvider.cs
- SiteMapDataSourceView.cs
- Translator.cs