WorkflowUpdateableControlClient.BeginTerminate Method (Guid, AsyncCallback, Object)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Begins an asynchronous operation that terminates a workflow instance.

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

public IAsyncResult BeginTerminate(
	Guid instanceId,
	AsyncCallback callback,
	object state
)

Parameters

instanceId
Type: System.Guid

The workflow instance to terminate.

callback
Type: System.AsyncCallback

The asynchronous callback delegate that receives the notification of the asynchronous operation completion.

state
Type: System.Object

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

Return Value

Type: System.IAsyncResult

The IAsyncResult object that represents the status of the asynchronous operation.

.NET Framework
Available since 4.5
Return to top
Show: