DurableActivityContextBase.InstanceId Property

Definition

Gets the instance ID of the currently executing orchestration.

public virtual string InstanceId { get; }
member this.InstanceId : string
Public Overridable ReadOnly Property InstanceId As String

Property Value

System.String

The ID of the current orchestration instance.

Remarks

The instance ID is generated and fixed when the orchestrator function is scheduled. It can be either auto-generated, in which case it is formatted as a GUID, or it can be user-specified with any format.

Applies to