CallExternalMethodActivity::CorrelationToken Property

 

Gets or sets the CorrelationToken for the external method.

Namespace:   System.Workflow.Activities
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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: