RuleExpressionWalker.Evaluate(RuleExecution, CodeExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.