共用方式為


IWorkflowUpdateableInstanceManagement.BeginTransactedUpdate 方法

定義

開始在交易內更新工作流程執行個體的非同步作業。

public:
 IAsyncResult ^ BeginTransactedUpdate(Guid instanceId, System::Activities::WorkflowIdentity ^ updatedDefinitionIdentity, AsyncCallback ^ callback, System::Object ^ state);
[System.ServiceModel.OperationContract(AsyncPattern=true, Name="TransactedUpdate")]
public IAsyncResult BeginTransactedUpdate (Guid instanceId, System.Activities.WorkflowIdentity updatedDefinitionIdentity, AsyncCallback callback, object state);
[<System.ServiceModel.OperationContract(AsyncPattern=true, Name="TransactedUpdate")>]
abstract member BeginTransactedUpdate : Guid * System.Activities.WorkflowIdentity * AsyncCallback * obj -> IAsyncResult
Public Function BeginTransactedUpdate (instanceId As Guid, updatedDefinitionIdentity As WorkflowIdentity, callback As AsyncCallback, state As Object) As IAsyncResult

參數

instanceId
Guid

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

updatedDefinitionIdentity
WorkflowIdentity

更新的工作流程識別。

callback
AsyncCallback

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

state
Object

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

傳回

IAsyncResult

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

屬性

適用於