WorkflowApplication.EndPersist(IAsyncResult) 方法

定義

等候暫止的非同步保存作業完成。Waits for the pending asynchronous persist operation to complete.

public:
 void EndPersist(IAsyncResult ^ result);
public void EndPersist (IAsyncResult result);
member this.EndPersist : IAsyncResult -> unit
Public Sub EndPersist (result As IAsyncResult)

參數

result
IAsyncResult

非同步保存作業。The asynchronous persist operation.

備註

這個方法可判斷 BeginPersist 作業是否成功。This method determines whether a BeginPersist operation was successful. 如果在保存作業完成之前呼叫,它會封鎖直到保存作業完成為止。If called before the persist operation completes, it blocks until the persist operation is complete.

這個方法會使用 IAsyncResult 非同步設計模式來完成非同步保存作業。This method completes the asynchronous persist operation using the IAsyncResult asynchronous design pattern. 如需詳細資訊, 請參閱非同步程式設計總覽For more information, see Asynchronous Programming Overview.

適用於