Editar

Compartilhar via


RuleExpressionWalker.Evaluate(RuleExecution, CodeExpression) Method

Definition

Evaluates the expression and all child expressions.

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

Parameters

execution
RuleExecution

The RuleExecution to execute the expression.

expression
CodeExpression

The CodeExpression to evaluate.

Returns

The RuleExpressionResult that indicates the result of the expression evaluation.

Exceptions

execution is a null reference (Nothing in Visual Basic).

Applies to