System 2.0.0.0 4.0.0.0 System.Object

The class, designed as a performance optimization for trace listener calls, is of interest only to developers creating custom trace listeners.

The class is used as a parameter in tracing methods to accurately identify the source of a trace event. Examples of methods that use are and . The property contains data that can be used to correlate the trace with related traces.

Provides trace event data specific to a thread and a process.

- Constructor
  2.0.0.0
  4.0.0.0
  To be added.

  Initializes a new instance of the class.

- Property
  2.0.0.0
  4.0.0.0
  System.String To be added.

  The property gets the call stack from the property of the class. The property value lists method calls in reverse chronological order. That is, the most recent method call is described first. One line of stack trace information is listed for each method call on the stack. For more information, see .

  Gets the call stack for the current thread.

- Property
  2.0.0.0
  4.0.0.0
  System.DateTime To be added.

  The first time the property is accessed in an instance of the class, the current time is returned. Subsequent queries of this property in that instance return that same value, allowing it to be used as a timestamp.

  Gets the date and time at which the event trace occurred.

- Property
  2.0.0.0
  4.0.0.0
  System.Collections.Stack To be added.

  The correlation data is stored as an object in the call context with the name "System.Diagnostics.Trace.CorrelationManagerSlot". The class provides methods used to store a logical operation identity in a thread-bound context and automatically tag each trace event generated by the thread with the stored identity. The is accessed through the property. Each call to the method pushes a new logical operation identity onto the stack. Each call to the method pops a logical operation identity from the stack

  Gets the correlation data, contained in a stack.

- Property
  2.0.0.0
  4.0.0.0
  System.Int32 To be added.

  Until the process terminates, the process identifier uniquely identifies the process throughout the system.

  Gets the unique identifier of the current process.

- Property
  2.0.0.0
  4.0.0.0
  System.String To be added.

  The thread identifier is the value of the property formatted as a string.

  Gets a unique identifier for the current managed thread.

- Property
  2.0.0.0
  4.0.0.0
  System.Int64 To be added.

  The get accessor calls the method to get the timestamp. If the class uses a high-resolution performance counter, returns the current value of that counter. If the class uses the system timer, returns the property of .

  Gets the current number of ticks in the timer mechanism.