Condividi tramite


RuleExpressionWalker.Evaluate(RuleExecution, CodeExpression) Metodo

Definizione

Valuta l'espressione e tutte le espressioni figlio.

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

Parametri

execution
RuleExecution

Classe RuleExecution per l'esecuzione dell'espressione.

expression
CodeExpression

Oggetto CodeExpression da valutare.

Restituisce

RuleExpressionResult

Enumerazione RuleExpressionResult che indica il risultato della valutazione dell'espressione.

Eccezioni

execution è un riferimento null (Nothing in Visual Basic).

Si applica a