編輯

共用方式為


Activity.TraceId Property

Definition

Gets the TraceId part of the Id.

public:
 property System::Diagnostics::ActivityTraceId TraceId { System::Diagnostics::ActivityTraceId get(); };
public System.Diagnostics.ActivityTraceId TraceId { get; }
member this.TraceId : System.Diagnostics.ActivityTraceId
Public ReadOnly Property TraceId As ActivityTraceId

Property Value

The ID for the TraceId part of the Id, if the ID has the W3C format; otherwise, a zero TraceId.

Applies to