NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TraceContext Class

Captures and presents execution details about a Web request.

Use the TraceContext class by appending trace messages to specific trace categories. For example, a calendar class might append the message ?Calendar1->Starting To Render? within the Render category, and append the message ?Calendar1->Firing OnChange Event? within the Events category. Tracing is enabled by setting the TBD Trace attribute or the System.Web.UI.TraceContext.IsEnabledX property.

In addition to showing user-provided trace content, the Page class automatically includes performance data, tree-structure information, and state management content.

Object
   TraceContext

[Visual Basic]
Public Class TraceContext
[C#]
public class TraceContext
[C++]
public __gc class TraceContext
[JScript]
public class TraceContext

Remarks

[To be supplied.]

Requirements

Namespace: System.Web

Assembly: System.Web.dll

See Also

TraceContext Members | System.Web Namespace