This documentation is archived and is not being maintained.

RuleExpressionInfo Class

An instance of this class is returned by the Validate method of an IRuleExpression expression.

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

public class RuleExpressionInfo

The ExpressionType property on RuleExpressionInfo provides the return type of the expression. For example, a binary expression, when evaluated, has a return type of Boolean; or, an expression that accesses a property might return an integer type.

The information in the RuleExpressionInfo can be used to validate the use of the expression. For example, a greater-than test cannot be used to compare two expressions if either returns a Boolean.


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

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 3.5, 3.0