共用方式為


WorkflowControlClient.BeginSuspend 方法

定義

開始會暫止指定作業的非同步作業。

多載

BeginSuspend(Guid, AsyncCallback, Object)

開始會暫止指定作業的非同步作業。

BeginSuspend(Guid, String, AsyncCallback, Object)

開始會暫止指定作業的非同步作業。

BeginSuspend(Guid, AsyncCallback, Object)

開始會暫止指定作業的非同步作業。

public:
 IAsyncResult ^ BeginSuspend(Guid instanceId, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginSuspend (Guid instanceId, AsyncCallback callback, object state);
member this.BeginSuspend : Guid * AsyncCallback * obj -> IAsyncResult
Public Function BeginSuspend (instanceId As Guid, callback As AsyncCallback, state As Object) As IAsyncResult

參數

instanceId
Guid

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

callback
AsyncCallback

非同步回呼委派,此委派會接收非同步作業完成的通知。

state
Object

使用者定義的狀態資料。

傳回

非同步暫止作業。

適用於

BeginSuspend(Guid, String, AsyncCallback, Object)

開始會暫止指定作業的非同步作業。

public:
 IAsyncResult ^ BeginSuspend(Guid instanceId, System::String ^ reason, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginSuspend (Guid instanceId, string reason, AsyncCallback callback, object state);
member this.BeginSuspend : Guid * string * AsyncCallback * obj -> IAsyncResult
Public Function BeginSuspend (instanceId As Guid, reason As String, callback As AsyncCallback, state As Object) As IAsyncResult

參數

instanceId
Guid

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

reason
String

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

callback
AsyncCallback

非同步回呼委派,此委派會接收非同步作業完成的通知。

state
Object

使用者定義的狀態資料。

傳回

非同步暫止作業。

適用於