Επεξεργασία

Κοινή χρήση μέσω


Activity.ParentSpanId Property

Definition

Gets the parent's SpanId.

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

Property Value

The parent's SpanId.

Remarks

If the Activity.ParentId is in the W3C format, this property returns the SpanId part of the ParentId. Otherwise it returns a zero SpanId.

Applies to