Redigera

Dela via


IWorkflowUpdateableInstanceManagement.BeginTransactedUpdate Method

Definition

Begins an asynchronous operation that updates a workflow instance within a transaction.

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