Rule.Priority property

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

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public int Priority { get; set; }

Property value

Type: System.Int32
The value that indicates the execution order in which a Rule should be run.

Rule classes that have a higher priority value are run before lower priority Rule classes. The default Priority value for any Rule is 0. When a Rule is created with the same Priority as an existing Rule, the existing Rule is incremented. A rule Priority must be a positive value.