共用方式為


IWorkflowUpdateableInstanceManagement.BeginUpdate 方法

定義

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

public:
 IAsyncResult ^ BeginUpdate(Guid instanceId, System::Activities::WorkflowIdentity ^ updatedDefinitionIdentity, AsyncCallback ^ callback, System::Object ^ state);
[System.ServiceModel.OperationContract(AsyncPattern=true, Name="Update")]
public IAsyncResult BeginUpdate (Guid instanceId, System.Activities.WorkflowIdentity updatedDefinitionIdentity, AsyncCallback callback, object state);
[<System.ServiceModel.OperationContract(AsyncPattern=true, Name="Update")>]
abstract member 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

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

updatedDefinitionIdentity
WorkflowIdentity

更新的工作流程識別。

callback
AsyncCallback

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

state
Object

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

傳回

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

屬性

適用於