This documentation is archived and is not being maintained.

RuleReevaluationBehavior Enumeration

Specifies whether a Rule can be reevaluated.

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

public enum RuleReevaluationBehavior

Member nameDescription
NeverIndicates that the Rule is executed once. A condition may be evaluated several times until the rule executes actions, but the rule will never be evaluated again.
AlwaysIndicates that the Rule can be reevaluated multiple times. Always is the default value.

This enumeration is used to limit the number of times that a Rule runs, primarily to prevent infinite loops. The default value for this field is Always. This means that the number of times the Rule is run is not limited, and the Rule can be run as many times as determined by the chaining cycles in the RuleSet evaluation.

.NET Framework

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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