CodeDom Types Supported by Windows Workflow Foundation

Windows Workflow Foundation uses the types that are available in System.CodeDom, which is part of the .NET Framework. You can use these types to author your conditions. Some types are supported in conditions, some in rule actions, and some in both.

Note

System.CodeDom does not support unary operators, nor does it support value inequality, such as a != b. You can express value inequality indirectly by using an expression such as (a == b) == false.

The following tables show the supported System.CodeDom types.

Class Used for

CodeArrayIndexerExpression

Conditions, Actions

CodeAssignStatement

Actions

CodeBinaryOperatorExpression

Conditions, Actions

CodeCastExpression

Conditions, Actions

CodeDirectionExpression

Conditions, Actions

CodeExpressionStatement

Actions

CodeFieldReferenceExpression

Conditions, Actions

CodeIndexerExpression

Conditions, Actions

CodeMethodInvokeExpression

Conditions, Actions

CodeMethodReferenceExpression

Conditions, Actions

CodePrimitiveExpression

Conditions, Actions

CodePropertyReferenceExpression

Conditions, Actions

CodeThisReferenceExpression

Conditions, Actions

CodeTypeReference

As part of expressions

CodeTypeReferenceExpression

Conditions, Actions

CodeBinaryOperatorType Supported in

Add

Conditions, Actions

BitwiseAnd

Conditions, Actions

BitwiseOr

Conditions, Actions

BooleanAnd

Conditions, Actions

BooleanOr

Conditions, Actions

Divide

Conditions, Actions

GreaterThan

Conditions, Actions

GreaterThanOrEqual

Conditions, Actions

IdentityEquality

Conditions, Actions

IdentityInequality

Conditions, Actions

LessThan

Conditions, Actions

LessThanOrEqual

Conditions, Actions

Modulus

Conditions, Actions

Multiply

Conditions, Actions

Subtract

Conditions, Actions

ValueEquality

Conditions, Actions

See Also

Concepts

Using Conditions in Workflows