Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / MS / Internal / TraceHwndHost.cs / 1305600 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TableItemProviderWrapper.cs
- GestureRecognizer.cs
- ListDictionaryInternal.cs
- RoutedEvent.cs
- VScrollProperties.cs
- FontCacheLogic.cs
- DllNotFoundException.cs
- DataGridColumnDropSeparator.cs
- Subtree.cs
- ToolStripMenuItem.cs
- COM2Enum.cs
- ObjectConverter.cs
- Switch.cs
- VisualStyleRenderer.cs
- MatrixCamera.cs
- LayoutUtils.cs
- BinaryReader.cs
- PageAction.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- PageThemeParser.cs
- BuildTopDownAttribute.cs
- DataAdapter.cs
- MemberPath.cs
- FileSystemEventArgs.cs
- ReadOnlyTernaryTree.cs
- RepeatButtonAutomationPeer.cs
- DbParameterHelper.cs
- PerfCounterSection.cs
- RowToFieldTransformer.cs
- ImageButton.cs
- EnvironmentPermission.cs
- RsaSecurityTokenAuthenticator.cs
- GACIdentityPermission.cs
- ViewStateModeByIdAttribute.cs
- OdbcErrorCollection.cs
- XsltQilFactory.cs
- ProfileGroupSettings.cs
- UserCancellationException.cs
- DetailsViewPageEventArgs.cs
- ScrollPattern.cs
- Utils.cs
- EventsTab.cs
- EventLogPermission.cs
- CompatibleComparer.cs
- RemotingServices.cs
- CodeTypeReference.cs
- PropertyIDSet.cs
- RawKeyboardInputReport.cs
- CompositionTarget.cs
- ServiceObjectContainer.cs
- DataGridViewRowsRemovedEventArgs.cs
- ObjectSecurity.cs
- DrawingGroup.cs
- SqlHelper.cs
- WrappedIUnknown.cs
- CompilerGlobalScopeAttribute.cs
- TrimSurroundingWhitespaceAttribute.cs
- ExceptionUtil.cs
- SqlDataSourceEnumerator.cs
- DecoderExceptionFallback.cs
- HMACSHA1.cs
- FontFamilyIdentifier.cs
- ResourceWriter.cs
- FontInfo.cs
- RelationshipConverter.cs
- ErrorEventArgs.cs
- NotifyParentPropertyAttribute.cs
- GridViewDeleteEventArgs.cs
- SspiSecurityTokenParameters.cs
- CompoundFileDeflateTransform.cs
- JoinSymbol.cs
- SplitterCancelEvent.cs
- IImplicitResourceProvider.cs
- SQLByte.cs
- WebReferenceCollection.cs
- NullExtension.cs
- FamilyCollection.cs
- BackgroundWorker.cs
- PartitionResolver.cs
- XmlNotation.cs
- _ScatterGatherBuffers.cs
- ClientSideProviderDescription.cs
- CommandSet.cs
- DataGridCheckBoxColumn.cs
- PermissionRequestEvidence.cs
- PartialCachingControl.cs
- PackageRelationship.cs
- ObjectDataProvider.cs
- DataServiceBehavior.cs
- PageClientProxyGenerator.cs
- SerializationInfo.cs
- DataBindingList.cs
- ScalarConstant.cs
- WorkflowHostingResponseContext.cs
- HtmlButton.cs
- AnnotationResourceChangedEventArgs.cs
- WebPartConnectVerb.cs
- _ConnectOverlappedAsyncResult.cs
- DataSourceControl.cs
- MenuAdapter.cs