Export (0) Print
Expand All

RuleExpressionCondition Class

Defines the condition definition behind a RuleConditionReference. This class cannot be inherited.

System.Object
  System.Workflow.Activities.Rules.RuleCondition
    System.Workflow.Activities.Rules.RuleExpressionCondition

Namespace:  System.Workflow.Activities.Rules
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

[SerializableAttribute]
public sealed class RuleExpressionCondition : RuleCondition

The RuleExpressionCondition type exposes the following members.

  NameDescription
Public methodRuleExpressionCondition()Initializes a new instance of the RuleExpressionCondition class.
Public methodRuleExpressionCondition(CodeExpression)Initializes a new instance of the RuleExpressionCondition class by using a specified code expression.
Public methodRuleExpressionCondition(String)Initializes a new instance of the RuleExpressionCondition class by using a specified name.
Public methodRuleExpressionCondition(String, CodeExpression)Initializes a new instance of the RuleExpressionCondition class by using a specified name and code expression.
Top

  NameDescription
Public propertyExpressionGets or sets the expression condition to evaluate.
Public propertyNameGets or sets the name of the condition to evaluate. (Overrides RuleCondition.Name.)
Top

  NameDescription
Public methodCloneCreates a deep copy of the current RuleExpressionCondition. (Overrides RuleCondition.Clone().)
Public methodEqualsDetermines whether two object instances are equal. (Overrides Object.Equals(Object).)
Public methodEvaluateEvaluates the expression. (Overrides RuleCondition.Evaluate(RuleExecution).)
Public methodGetDependenciesGets the dependencies for the RuleExpressionCondition. (Overrides RuleCondition.GetDependencies(RuleValidation).)
Public methodGetHashCodeReturns the hash code for this instance. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodOnRuntimeInitializedCalled when all properties have been given values. (Overrides RuleCondition.OnRuntimeInitialized().)
Public methodToStringReturns the string value of the expression condition. (Overrides Object.ToString().)
Public methodValidateVerifies that the expression is configured correctly and has no errors. (Overrides RuleCondition.Validate(RuleValidation).)
Top

The RuleExpressionCondition class defines the base conditions evaluated when a RuleSet is executed.

This condition type is modeled with CodeDom types. For more information about CodeDom types, see CodeDOM Types Supported by Windows Workflow Foundation.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft