แก้ไข

แชร์ผ่าน


IWorkflowUpdateableInstanceManagement.BeginUpdate Method

Definition

Begins an asynchronous operation to update the specified workflow instance.

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

Parameters

instanceId
Guid

The GUID identifier of the workflow instance to terminate.

updatedDefinitionIdentity
WorkflowIdentity

The updated workflow identity.

callback
AsyncCallback

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

state
Object

An object, specified by the application, that contains state information associated with the asynchronous update operation.

Returns

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

Attributes

Applies to