共用方式為


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

暫止工作流程執行個體的原因。

屬性

備註

暫止處理程序會暫時中止工作流程執行個體。

適用於