語言

WorkflowUpdateableControlClient.UpdateAsync 方法

定義

開始非同步更新操作。

多載

名稱 Description
UpdateAsync(Guid, WorkflowIdentity)

開始非同步更新操作。

UpdateAsync(Guid, WorkflowIdentity, Object)

開始非同步更新操作。

UpdateAsync(Guid, WorkflowIdentity)

開始非同步更新操作。

public:
 void UpdateAsync(Guid instanceId, System::Activities::WorkflowIdentity ^ updatedDefinitionIdentity);
public void UpdateAsync(Guid instanceId, System.Activities.WorkflowIdentity updatedDefinitionIdentity);
member this.UpdateAsync : Guid * System.Activities.WorkflowIdentity -> unit
Public Sub UpdateAsync (instanceId As Guid, updatedDefinitionIdentity As WorkflowIdentity)

參數

instanceId
Guid

要更新工作流程實例。

updatedDefinitionIdentity
WorkflowIdentity

更新後的工作流程識別碼。

備註

此方法在任務中儲存所有非使用例外,該方法的同步對應程式可拋出這些例外。 如果回傳的任務中儲存了例外,該例外會在等待任務時拋出。 使用例外錯誤,例如 ArgumentException,仍會同步拋出。 關於儲存的例外,請參見由 Update(Guid, WorkflowIdentity)拋出的例外。

適用於

UpdateAsync(Guid, WorkflowIdentity, Object)

開始非同步更新操作。

public:
 void UpdateAsync(Guid instanceId, System::Activities::WorkflowIdentity ^ updatedDefinitionIdentity, System::Object ^ userState);
public void UpdateAsync(Guid instanceId, System.Activities.WorkflowIdentity updatedDefinitionIdentity, object userState);
member this.UpdateAsync : Guid * System.Activities.WorkflowIdentity * obj -> unit
Public Sub UpdateAsync (instanceId As Guid, updatedDefinitionIdentity As WorkflowIdentity, userState As Object)

參數

instanceId
Guid

要更新工作流程實例。

updatedDefinitionIdentity
WorkflowIdentity

更新後的工作流程識別碼。

userState
Object

一個由使用者定義的物件,包含與非同步更新操作相關的狀態資訊。

適用於