Activity.ParentSpanId 属性
定义
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
属性值
父项的 SpanId 。The parent's SpanId.
注解
如果 Activity.ParentId 采用 W3C 格式,则此属性返回 SpanId ParentId 的部分。If the Activity.ParentId is in the W3C format, this property returns the SpanId part of the ParentId. 否则,它将返回零 SpanId 。Otherwise it returns a zero SpanId.