Edit

Share via


CallExternalMethodActivity.CorrelationToken Property

Definition

Gets or sets the CorrelationToken for the external method.

public:
 virtual property System::Workflow::Runtime::CorrelationToken ^ CorrelationToken { System::Workflow::Runtime::CorrelationToken ^ get(); void set(System::Workflow::Runtime::CorrelationToken ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Workflow.Activities.CorrelationTokenTypeConverter))]
public virtual System.Workflow.Runtime.CorrelationToken CorrelationToken { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Workflow.Activities.CorrelationTokenTypeConverter))>]
member this.CorrelationToken : System.Workflow.Runtime.CorrelationToken with get, set
Public Overridable Property CorrelationToken As CorrelationToken

Property Value

The correlation token for the external method.

Attributes

Remarks

This property defines which specific CallExternalMethodActivity activity a given external method call comes from. This value can then be used in the payload of a local communication service event to direct that event to the correct HandleExternalEventActivity activity.

For an example of correlation, see the Correlated Local Service Sample.

Applies to