RuleExpressionWalker.Evaluate(RuleExecution, CodeExpression) 方法

定义

计算表达式和所有子表达式。

public:
 static System::Workflow::Activities::Rules::RuleExpressionResult ^ Evaluate(System::Workflow::Activities::Rules::RuleExecution ^ execution, System::CodeDom::CodeExpression ^ expression);
public static System.Workflow.Activities.Rules.RuleExpressionResult Evaluate (System.Workflow.Activities.Rules.RuleExecution execution, System.CodeDom.CodeExpression expression);
static member Evaluate : System.Workflow.Activities.Rules.RuleExecution * System.CodeDom.CodeExpression -> System.Workflow.Activities.Rules.RuleExpressionResult
Public Shared Function Evaluate (execution As RuleExecution, expression As CodeExpression) As RuleExpressionResult

参数

execution
RuleExecution

要执行表达式的 RuleExecution

expression
CodeExpression

要计算的 CodeExpression

返回

指示表达式计算结果的 RuleExpressionResult

例外

execution 为空引用(在 Visual Basic 中为 Nothing)。

适用于