CodeActivity<TResult>.Execute(CodeActivityContext) 方法

定义

在派生类中实现时,执行该活动。

protected:
 abstract TResult Execute(System::Activities::CodeActivityContext ^ context);
protected abstract TResult Execute (System.Activities.CodeActivityContext context);
abstract member Execute : System.Activities.CodeActivityContext -> 'Result
Protected MustOverride Function Execute (context As CodeActivityContext) As TResult

参数

context
CodeActivityContext

执行活动时所处的执行上下文。

返回

TResult

活动执行的结果。

适用于