WorkflowControlClient.SuspendAsync 方法

定義

開始執行非同步的暫止作業。

多載

SuspendAsync(Guid, String, Object)

開始具有指定工作流程執行個體 ID、原因與使用者定義狀態資料的非同步暫止作業。

SuspendAsync(Guid, String)

開始具有指定工作流程執行個體 ID 與原因的非同步暫止作業。

SuspendAsync(Guid)

開始執行非同步的暫止作業。

SuspendAsync(Guid, Object)

開始具有指定工作流程執行個體 ID 與使用者定義狀態資料的非同步暫止作業。

SuspendAsync(Guid, String, Object)

開始具有指定工作流程執行個體 ID、原因與使用者定義狀態資料的非同步暫止作業。

public:
 void SuspendAsync(Guid instanceId, System::String ^ reason, System::Object ^ userState);
public void SuspendAsync (Guid instanceId, string reason, object userState);
member this.SuspendAsync : Guid * string * obj -> unit
Public Sub SuspendAsync (instanceId As Guid, reason As String, userState As Object)

參數

instanceId
Guid

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

reason
String

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

userState
Object

使用者定義的狀態資料。

適用於

SuspendAsync(Guid, String)

開始具有指定工作流程執行個體 ID 與原因的非同步暫止作業。

public:
 void SuspendAsync(Guid instanceId, System::String ^ reason);
public void SuspendAsync (Guid instanceId, string reason);
member this.SuspendAsync : Guid * string -> unit
Public Sub SuspendAsync (instanceId As Guid, reason As String)

參數

instanceId
Guid

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

reason
String

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

適用於

SuspendAsync(Guid)

開始執行非同步的暫止作業。

public:
 void SuspendAsync(Guid instanceId);
public void SuspendAsync (Guid instanceId);
member this.SuspendAsync : Guid -> unit
Public Sub SuspendAsync (instanceId As Guid)

參數

instanceId
Guid

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

適用於

SuspendAsync(Guid, Object)

開始具有指定工作流程執行個體 ID 與使用者定義狀態資料的非同步暫止作業。

public:
 void SuspendAsync(Guid instanceId, System::Object ^ userState);
public void SuspendAsync (Guid instanceId, object userState);
member this.SuspendAsync : Guid * obj -> unit
Public Sub SuspendAsync (instanceId As Guid, userState As Object)

參數

instanceId
Guid

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

userState
Object

使用者定義的狀態資料。

適用於