Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- FormatterConverter.cs
- WsatConfiguration.cs
- ProfileParameter.cs
- DataGridColumnDropSeparator.cs
- FontDriver.cs
- BindValidator.cs
- DateTimeOffsetAdapter.cs
- SQLDateTime.cs
- DragDrop.cs
- HelpHtmlBuilder.cs
- DebugInfo.cs
- ContentType.cs
- AsymmetricAlgorithm.cs
- DataControlPagerLinkButton.cs
- TextShapeableCharacters.cs
- RuntimeHelpers.cs
- ComplexType.cs
- TCEAdapterGenerator.cs
- Base64Encoder.cs
- ByteFacetDescriptionElement.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- propertyentry.cs
- CursorConverter.cs
- RuntimeArgumentHandle.cs
- LicenseContext.cs
- GradientBrush.cs
- DesignSurfaceServiceContainer.cs
- CommonXSendMessage.cs
- LayoutTableCell.cs
- Repeater.cs
- DataSourceXmlElementAttribute.cs
- SqlBulkCopyColumnMapping.cs
- TypeExtension.cs
- VersionedStreamOwner.cs
- StringSource.cs
- PointValueSerializer.cs
- PointHitTestParameters.cs
- WindowsPen.cs
- MsdtcWrapper.cs
- ConfigurationLoader.cs
- Thread.cs
- HwndTarget.cs
- PropertyToken.cs
- WebPartRestoreVerb.cs
- ReferencedAssembly.cs
- RowSpanVector.cs
- ContextQuery.cs
- EntitySetBase.cs
- SoapServerMessage.cs
- DnsPermission.cs
- SslStream.cs
- Ticks.cs
- CompiledRegexRunnerFactory.cs
- InlinedAggregationOperatorEnumerator.cs
- DataGridViewTopLeftHeaderCell.cs
- FormatConvertedBitmap.cs
- NamespaceMapping.cs
- Helper.cs
- RegexCaptureCollection.cs
- MembershipUser.cs
- MetadataItemCollectionFactory.cs
- versioninfo.cs
- activationcontext.cs
- PointKeyFrameCollection.cs
- AuthenticationManager.cs
- GridViewPageEventArgs.cs
- SafeNativeMethods.cs
- FileDialog_Vista.cs
- WindowsScroll.cs
- PrintDialog.cs
- PermissionSetTriple.cs
- StrokeCollectionConverter.cs
- PeerChannelFactory.cs
- _LocalDataStoreMgr.cs
- SqlConnectionHelper.cs
- BamlRecordWriter.cs
- FactoryGenerator.cs
- QuaternionIndependentAnimationStorage.cs
- ColorAnimationUsingKeyFrames.cs
- SqlTypeSystemProvider.cs
- TextTreeTextNode.cs
- QilExpression.cs
- ECDiffieHellmanCng.cs
- HttpModule.cs
- MappingModelBuildProvider.cs
- UTF7Encoding.cs
- BaseValidator.cs
- LinkConverter.cs
- PieceNameHelper.cs
- SchemaNamespaceManager.cs
- TimeStampChecker.cs
- TrustSection.cs
- NodeFunctions.cs
- GregorianCalendarHelper.cs
- IsolatedStorageFilePermission.cs
- EpmCustomContentSerializer.cs
- MarshalByRefObject.cs
- AccessText.cs
- TemplatePropertyEntry.cs
- SqlCommandBuilder.cs