Upravit

Sdílet prostřednictvím


WorkflowUpdateableControlClient.BeginUpdate Method

Definition

Begins an asynchronous operation that updates a workflow instance.

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

Parameters

instanceId
Guid

The workflow instance to update.

updatedDefinitionIdentity
WorkflowIdentity

The updated workflow identity.

callback
AsyncCallback

The asynchronous callback delegate that receives the notification of the asynchronous operation completion.

state
Object

A user-defined object that contains state information associated with the asynchronous update operation.

Returns

The IAsyncResult object that represents the status of the asynchronous operation.

Applies to