Activity.ParentSpanId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.