共用方式為


IWorkflowInstanceManagement.BeginTransactedTerminate 方法

定義

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

public:
 IAsyncResult ^ BeginTransactedTerminate(Guid instanceId, System::String ^ reason, AsyncCallback ^ callback, System::Object ^ state);
[System.ServiceModel.OperationContract(AsyncPattern=true, Name="TransactedTerminate")]
public IAsyncResult BeginTransactedTerminate (Guid instanceId, string reason, AsyncCallback callback, object state);
[<System.ServiceModel.OperationContract(AsyncPattern=true, Name="TransactedTerminate")>]
abstract member BeginTransactedTerminate : Guid * string * AsyncCallback * obj -> IAsyncResult
Public Function BeginTransactedTerminate (instanceId As Guid, reason As String, callback As AsyncCallback, state As Object) As IAsyncResult

參數

instanceId
Guid

要終止之工作流程執行個體的 GUID 識別碼。

reason
String

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

callback
AsyncCallback

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

state
Object

應用程式所指定的物件,其中包含與非同步終止作業相關聯的狀態資訊。

傳回

IAsyncResult

屬性

備註

終止處理程序會使工作流程執行個體結束。

適用於