Modifier

Partager via


Activity.Id Property

Definition

Gets an identifier that is specific to a particular request.

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

Property Value

The activity ID.

Remarks

An ID has a hierarchical structure: root-id.id1_id2.id3_. The ID is generated when Start() is called by appending a suffix to the Activity.Parent.Id or the ParentId. An Activity has no ID until it starts. For more information, see Activity IDs.

Applies to