Activity.SpanId Property

Definition

Gets the SPAN part of the Id.

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

Property Value

ActivitySpanId

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

Applies to