Activity.Id 属性

定义

获取特定于特定请求的标识符。

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

属性值

活动 ID。

注解

ID 具有分层结构: root-id.id1_id2.id3_ 通过将后缀追加到或 <a0/> 来调用时,将生成 ID。 在启动之前,没有 Activity ID。 有关详细信息,请参阅 活动 ID

适用于