Partilhar via


RuleExpressionWalker.Evaluate(RuleExecution, CodeExpression) Método

Definição

Avalia a expressão e todas as expressões filho.

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

Parâmetros

execution
RuleExecution

O RuleExecution para executar a expressão.

expression
CodeExpression

O CodeExpression a ser avaliado.

Retornos

RuleExpressionResult

O RuleExpressionResult que indica o resultado da avaliação de expressão.

Exceções

execution é uma referência nula (Nothing no Visual Basic).

Aplica-se a