共用方式為


WorkflowUpdateableControlClient.BeginUpdate 方法

定義

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

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

參數

instanceId
Guid

要更新的工作流程執行個體。

updatedDefinitionIdentity
WorkflowIdentity

更新的工作流程識別。

callback
AsyncCallback

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

state
Object

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

傳回

IAsyncResult

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

適用於