Activity.RootId Property

Definition

Gets the root ID of this Activity.

C#
public string? RootId { get; }
C#
public string RootId { get; }

Property Value

The root ID, or null if the current instance has neither ParentId nor Id.

Remarks

The root ID is a substring from the Id or the ParentId) between '|' (or the beginning) and the first .. Filtering by root ID allows you to find all activities involved in operation processing. For more information, see ID Format.

Applies to

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)