共用方式為


TraceOutputOptions Values

The following table lists the possible TraceOutputOptions values.

Value

Description

Callstack

Write the call stack, which is represented by the return value of the Environment.StackTrace property. 

DateTime

Write the date and time.

LogicalOperationStack

Write the logical operation stack, which is represented by the return value of the CorrelationManager.LogicalOperationStack property. 

ProcessId

Write the process identity, which is represented by the return value of the Process.ID property. 

ThreadId

Write the ThreadIdentity, which is represented by the return value of the Thread.ManagedThreadIdProperty for the current thread. 

Timestamp

Write the timestamp, which is represented by the return value of the System.Diagnostics.Stopwatch.GetTimeStamp method. 

For more information about these values, see TraceOptions Fields in the .NET Framework Class Library on MSDN®.