RulesEngineRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains a list of match conditions, and an action on how to modify the request/response. If multiple rules match, the actions from one rule that conflict with a previous rule overwrite for a singular action, or append in the case of headers manipulation.
public class RulesEngineRule
type RulesEngineRule = class
Public Class RulesEngineRule
- Inheritance
-
RulesEngineRule
Constructors
RulesEngineRule() |
Initializes a new instance of the RulesEngineRule class. |
RulesEngineRule(String, Int32, RulesEngineAction, IList<RulesEngineMatchCondition>, String) |
Initializes a new instance of the RulesEngineRule class. |
Properties
Action |
Gets or sets actions to perform on the request and response if all of the match conditions are met. |
MatchConditions |
Gets or sets a list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run. |
MatchProcessingBehavior |
Gets or sets if this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. Possible values include: 'Continue', 'Stop' |
Name |
Gets or sets a name to refer to this specific rule. |
Priority |
Gets or sets a priority assigned to this rule. |
Methods
Validate() |
Validate the object. |
Extension Methods
ToPSRulesEngineRule(RulesEngineRule) |