WorkflowApplication.EndLoadRunnableInstance(IAsyncResult) 方法

定义

等待异步加载可运行实例操作完成。Waits for the asynchronous load runnable instance operation to complete.

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

参数

result
IAsyncResult

对异步加载操作的引用。A reference to the asynchronous load operation.

注解

此方法确定 BeginLoadRunnableInstance 操作是否成功。This method determines whether a BeginLoadRunnableInstance operation was successful. 如果在加载操作完成前调用此方法,则此调用将会被阻止,直至加载操作完成。If called before the load operation completes, it blocks until the operation is complete.

此方法使用 IAsyncResult 异步设计模式以异步方式加载工作流。This method loads workflows asynchronously using the IAsyncResult asynchronous design pattern. 有关详细信息,请参阅 异步编程概述For more information, see Asynchronous Programming Overview.

适用于