IWorkflowInstanceManagement.TransactedTerminate(Guid, String) IWorkflowInstanceManagement.TransactedTerminate(Guid, String) IWorkflowInstanceManagement.TransactedTerminate(Guid, String) IWorkflowInstanceManagement.TransactedTerminate(Guid, String) Method

Definition

Terminates the specified workflow instance within a transaction.

public:
 void TransactedTerminate(Guid instanceId, System::String ^ reason);
[System.ServiceModel.OperationContract(Name="TransactedTerminate")]
[System.ServiceModel.TransactionFlow(System.ServiceModel.TransactionFlowOption.Allowed)]
public void TransactedTerminate (Guid instanceId, string reason);
abstract member TransactedTerminate : Guid * string -> unit
Public Sub TransactedTerminate (instanceId As Guid, reason As String)

Parameters

instanceId
Guid Guid Guid Guid

The GUID identifier of the workflow instance to terminate.

reason
String String String String

The reason to terminate the workflow instance.

Remarks

The terminate process brings a workflow instance to an end.

Applies to