IWorkflowInstanceManagement.Terminate(Guid, String) Method

Definition

Terminates the specified workflow instance.

[System.ServiceModel.OperationContract(Name="Terminate")]
public void Terminate (Guid instanceId, string reason);

Parameters

instanceId
Guid

The GUID identifier of the workflow instance to terminate.

reason
String

The reason to terminate the workflow instance.

Attributes

Remarks

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

Applies to

Produkt Versioner
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1