IWorkflowInstanceManagement.TransactedTerminate(Guid, String) 方法

定义

终止事务内的指定工作流实例。

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);
[<System.ServiceModel.OperationContract(Name="TransactedTerminate")>]
[<System.ServiceModel.TransactionFlow(System.ServiceModel.TransactionFlowOption.Allowed)>]
abstract member TransactedTerminate : Guid * string -> unit
Public Sub TransactedTerminate (instanceId As Guid, reason As String)

参数

instanceId
Guid

要终止的工作流实例的 GUID 标识符。

reason
String

终止工作流实例的原因。

属性

注解

终止进程会结束工作流实例。

适用于