Gets or sets the CorrelationToken for the external method.
Assembly: System.Workflow.Activities (in System.Workflow.Activities.dll)
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, see Correlated Local Service Sample.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.