CallExternalMethodActivity::CorrelationToken Property
Gets or sets the CorrelationToken for the external method.
Assembly: System.Workflow.Activities (in System.Workflow.Activities.dll)
public: property CorrelationToken^ CorrelationToken { virtual CorrelationToken^ get(); virtual void set(CorrelationToken^ value); }
Property Value
Type: System.Workflow.Runtime::CorrelationToken^The correlation token for the external method.
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.
The following sample shows how to access the CorrelationToken property of a CallExternalMethodActivity object. This sample is from the Correlated Local Service SDK sample, from the CorrelatedLocalServiceWorkflow.designer.cs file. For more information, seeCorrelated Local Service Sample.
Available since 3.0
CallExternalMethodActivity Class
System.Workflow.Activities Namespace
Using the CallExternalMethod Activity