共用方式為


WorkflowControlClient.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

使用者定義的狀態資料。

傳回

非同步終止作業。

適用於

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

使用者定義的狀態資料。

傳回

非同步終止作業。

適用於