Activity.SpanId Property


Gets the SPAN part of the Id.

 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

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

Applies to