Rule.Priority Property

 

Gets or sets a value that indicates the order in which a Rule should be run.

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

public int Priority { get; set; }

Property Value

Type: System.Int32

A value that indicates the order in which a Rule should be run.

Rule classes that have a higher priority value are run before lower priority Rule classes. Rules that have the same priority are run in the alphabetic order of their name properties.

The Priority value can be positive or negative. The default value for any Rule is 0.

.NET Framework
Available since 3.0
Return to top
Show: