WorkflowApplication.EndUnload(IAsyncResult) 方法

定義

等候暫止的非同步卸載作業完成。Waits for the pending asynchronous unload operation to complete.

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

參數

result
IAsyncResult

非同步卸載作業。The asynchronous unload operation.

備註

呼叫這個方法即可判斷 BeginUnload 作業是否成功。This method can be called to determine whether a BeginUnload operation was successful. 如果在卸載作業完成之前呼叫,它會封鎖直到作業完成為止。If called before the unload operation completes, it blocks until the operation is complete.

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

適用於