WorkflowUpdateableControlClient.TerminateAsync Method (Guid, String, Object)

.NET Framework (current version)
 

Begins an asynchronous terminate operation.

Namespace:   System.ServiceModel.Activities
Assembly:  System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)

public void TerminateAsync(
	Guid instanceId,
	string reason,
	object userState
)

Parameters

instanceId
Type: System.Guid

The workflow instance to terminate.

reason
Type: System.String

The reason to terminate the workflow instance.

userState
Type: System.Object

A user-defined object that contains state information associated with the asynchronous terminate operation.

.NET Framework
Available since 4.5
Return to top
Show: