IWorkflowInstanceManagement.TransactedSuspend(Guid, String) 方法

定义

挂起事务内的指定工作流实例。

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

参数

instanceId
Guid

要挂起的工作流实例的 GUID 标识符。

reason
String

挂起工作流实例的原因。

属性

注解

挂起进程会临时暂停工作流实例。

适用于