MatchCondition 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.
Define match conditions
public class MatchCondition
type MatchCondition = class
Public Class MatchCondition
- Inheritance
-
MatchCondition
Constructors
MatchCondition() |
Initializes a new instance of the MatchCondition class. |
MatchCondition(String, String, IList<String>, String, Nullable<Boolean>, IList<String>) |
Initializes a new instance of the MatchCondition class. |
Properties
MatchValue |
Gets or sets list of possible match values. |
MatchVariable |
Gets or sets match variable to compare against. Possible values include: 'RemoteAddr', 'SocketAddr', 'RequestMethod', 'RequestHeader', 'RequestUri', 'QueryString', 'RequestBody', 'Cookies', 'PostArgs' |
NegateCondition |
Gets or sets describes if the result of this condition should be negated. |
OperatorProperty |
Gets or sets describes operator to be matched. Possible values include: 'Any', 'IPMatch', 'GeoMatch', 'Equal', 'Contains', 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith', 'RegEx' |
Selector |
Gets or sets selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs. |
Transforms |
Gets or sets list of transforms. |
Methods
Validate() |
Validate the object. |