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
Always

Indicates that the Rule can be reevaluated multiple times. Always is the default value.

Never

Indicates 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.

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
Available since 3.0
Return to top
Show: