This documentation is archived and is not being maintained.

TraceContext Members

Captures and presents execution details about a Web request. This class cannot be inherited.

The TraceContext type exposes the following members.

  NameDescription
Public method TraceContext Infrastructure. Initializes a new instance of the TraceContext class.
Top

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Warn Overloaded. Writes trace information to the trace log. Unlike Write, all warnings appear in the log as red text.
Public method Write Overloaded. Writes trace information to the trace log.
Top

  NameDescription
Public property IsEnabled Gets or sets a value indicating whether tracing is enabled for the current Web request.
Public property TraceMode Gets or sets the sorted order in which trace messages should be output to a requesting browser.
Top

  NameDescription
Public event TraceFinished Raised by the TraceContext object to expose trace messages after all request information is gathered.
Top
Show: