IWorkflowInstanceManagement.Terminate Method (Guid, String)

.NET Framework (current version)
 

Terminates the specified workflow instance.

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

[OperationContractAttribute(Name = "Terminate")]
void Terminate(
	Guid instanceId,
	string reason
)

Parameters

instanceId
Type: System.Guid

The GUID identifier of the workflow instance to terminate.

reason
Type: System.String

The reason to terminate the workflow instance.

This operation combines the functionality of an abort operation followed by a persist operation.

.NET Framework
Available since 4.0
Return to top
Show: