RoutingPreferenceManager.GetRule
Method
Description:
Gets the specified rule.
Gets the specified rule.
Parameters
Parameter | Type | Description |
---|---|---|
groupType | RoutingPreferenceRuleGroupType | The routing preference group type from which the rule should be returned. |
index | Int32 | The zero-based index where the rule should be returned. |
Return Value
Type | Description |
---|---|
RoutingPreferenceRule | The rule at the specified group and zero-based index position. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | index is not a valid zero-based index within groupType. -or- Thrown if the index is out of bounds |
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |