共用方式為


WorkflowUpdateableControlClient.BeginTerminate 方法

定義

開始會終止工作流程執行個體的非同步作業。

多載

BeginTerminate(Guid, AsyncCallback, Object)

開始會終止工作流程執行個體的非同步作業。

BeginTerminate(Guid, String, AsyncCallback, Object)

開始會終止工作流程執行個體的非同步作業。

BeginTerminate(Guid, AsyncCallback, Object)

開始會終止工作流程執行個體的非同步作業。

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

參數

instanceId
Guid

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

callback
AsyncCallback

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

state
Object

使用者定義的物件,包含與非同步終止作業相關聯的狀態資訊。

傳回

IAsyncResult

IAsyncResult 物件,表示非同步作業的狀態。

適用於

BeginTerminate(Guid, String, AsyncCallback, Object)

開始會終止工作流程執行個體的非同步作業。

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

參數

instanceId
Guid

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

reason
String

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

callback
AsyncCallback

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

state
Object

使用者定義的物件,包含與非同步終止作業相關聯的狀態資訊。

傳回

IAsyncResult

IAsyncResult 物件,表示非同步作業的狀態。

適用於