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

ActivityTraceId

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

Applies to