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 对象。

适用于