IWorkflowUpdateableInstanceManagement.BeginTransactedUpdate(Guid, WorkflowIdentity, AsyncCallback, Object) 方法

定义

开始一个异步操作,该操作更新事务内的工作流实例。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

参数

instanceId
Guid

要终止的工作流实例的 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.

返回

IAsyncResult

表示异步操作状态的 IAsyncResult 对象。The IAsyncResult object that represents the status of the asynchronous operation.

属性

适用于