Activity.RootId 属性

定义

获取此 Activity 的根 ID。Gets the root ID of this Activity.

public:
 property System::String ^ RootId { System::String ^ get(); };
public string? RootId { get; }
public string RootId { get; }
member this.RootId : string
Public ReadOnly Property RootId As String

属性值

String

根 ID; null 如果当前实例有或,则为 ParentId IdThe root ID, or null if the current instance has either a ParentId or an Id.

注解

根 ID 是中的子字符串, Id 或者是 ParentId "|" (或开头) 和第一个之间的) .The root ID is a substring from the Id or the ParentId) between '|' (or the beginning) and the first .. 按根 ID 筛选允许您查找操作处理中涉及的所有活动。Filtering by root ID allows you to find all activities involved in operation processing. 有关详细信息,请参阅 ID 格式For more information, see ID Format.

适用于