Редагувати

Поділитися через


ActivityInfo.InstanceId Property

Definition

Gets the run-time ID of the activity instance.

public:
 property System::String ^ InstanceId { System::String ^ get(); };
[System.Runtime.Serialization.DataMember]
public string InstanceId { get; }
[<System.Runtime.Serialization.DataMember>]
member this.InstanceId : string
Public ReadOnly Property InstanceId As String

Property Value

The instance ID of the activity.

Attributes

Remarks

An activity can occur multiple times during processing, such as an activity that is processed within a loop. The Id contains the ID of the activity and does not change while the InstanceId contains the ID of the specific instance of the activity. The InstanceId is different for each specific instance. For example, an activity that is processed in a loop would have a different InstanceId for each cycle through the loop while the Id would remain the same.

Applies to