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
- SettingsBindableAttribute.cs
- Separator.cs
- MessageContractImporter.cs
- PageContentCollection.cs
- StylusDownEventArgs.cs
- SectionInformation.cs
- SqlComparer.cs
- SoapFormatter.cs
- EDesignUtil.cs
- Hex.cs
- StatusBarPanelClickEvent.cs
- ChannelCacheDefaults.cs
- DesignerTransactionCloseEvent.cs
- DecoderFallbackWithFailureFlag.cs
- StaticContext.cs
- BuildResult.cs
- TextParaLineResult.cs
- Gdiplus.cs
- KnownIds.cs
- MemberPathMap.cs
- TableStyle.cs
- XmlSchemaSubstitutionGroup.cs
- basenumberconverter.cs
- versioninfo.cs
- TextBoxLine.cs
- AsymmetricAlgorithm.cs
- DefaultTypeArgumentAttribute.cs
- TextSelectionHelper.cs
- RelationshipConverter.cs
- EntityStoreSchemaGenerator.cs
- SamlAuthenticationClaimResource.cs
- HttpModulesSection.cs
- COM2PictureConverter.cs
- ExpandableObjectConverter.cs
- View.cs
- DbConnectionHelper.cs
- StickyNote.cs
- ContextQuery.cs
- CalendarDesigner.cs
- PropertyGroupDescription.cs
- DesignerTransactionCloseEvent.cs
- CompositeActivityMarkupSerializer.cs
- StorageAssociationSetMapping.cs
- DebugController.cs
- XmlStreamedByteStreamReader.cs
- DirectoryObjectSecurity.cs
- CacheHelper.cs
- UrlRoutingHandler.cs
- Section.cs
- ScriptingRoleServiceSection.cs
- SQLMoney.cs
- SettingsSection.cs
- LoginName.cs
- ConnectorRouter.cs
- SqlTransaction.cs
- SiteIdentityPermission.cs
- CommandSet.cs
- AttributeData.cs
- FileLogRecordHeader.cs
- Point.cs
- ItemAutomationPeer.cs
- WindowsListView.cs
- ApplicationFileCodeDomTreeGenerator.cs
- DatasetMethodGenerator.cs
- PerCallInstanceContextProvider.cs
- TextChangedEventArgs.cs
- PointCollection.cs
- Vector3D.cs
- CardSpaceSelector.cs
- wgx_render.cs
- SmiContextFactory.cs
- ToolStripDropDownClosedEventArgs.cs
- SafeNativeMethods.cs
- LinqDataSourceInsertEventArgs.cs
- ElementAction.cs
- ChangeInterceptorAttribute.cs
- Claim.cs
- FontWeight.cs
- TrustLevelCollection.cs
- FigureParaClient.cs
- Activity.cs
- Utils.cs
- ResourceManager.cs
- COAUTHINFO.cs
- HostedBindingBehavior.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- WebPartTransformerCollection.cs
- DataPointer.cs
- _ShellExpression.cs
- EnumValidator.cs
- SpellerHighlightLayer.cs
- LayoutTableCell.cs
- PopupEventArgs.cs
- WebPartDescriptionCollection.cs
- SecurityResources.cs
- WindowsFormsSectionHandler.cs
- Parameter.cs
- GenericEnumerator.cs
- GetChildSubtree.cs
- TransactedBatchingBehavior.cs