AsyncCodeActivity<TResult>.EndExecute 方法

定义

当在派生类中实现并使用指定的执行环境信息时,通知工作流运行时关联异步活动操作已完成。

protected:
 abstract TResult EndExecute(System::Activities::AsyncCodeActivityContext ^ context, IAsyncResult ^ result);
protected abstract TResult EndExecute (System.Activities.AsyncCodeActivityContext context, IAsyncResult result);
abstract member EndExecute : System.Activities.AsyncCodeActivityContext * IAsyncResult -> 'Result
Protected MustOverride Function EndExecute (context As AsyncCodeActivityContext, result As IAsyncResult) As TResult

参数

context
AsyncCodeActivityContext

定义 AsyncCodeActivity 的执行环境的信息。

result
IAsyncResult

执行结束时返回异步活动状态的已实现 IAsyncResult

返回

TResult

一种泛型类型。

适用于