Freigeben über


WebApplicationCustomRule Konstruktor

Definition

Initialisiert eine neue instance von WebApplicationCustomRule.

public WebApplicationCustomRule (int priority, Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleType ruleType, System.Collections.Generic.IEnumerable<Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleMatchCondition> matchConditions, Azure.ResourceManager.FrontDoor.Models.RuleMatchActionType action);
new Azure.ResourceManager.FrontDoor.Models.WebApplicationCustomRule : int * Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleType * seq<Azure.ResourceManager.FrontDoor.Models.WebApplicationRuleMatchCondition> * Azure.ResourceManager.FrontDoor.Models.RuleMatchActionType -> Azure.ResourceManager.FrontDoor.Models.WebApplicationCustomRule
Public Sub New (priority As Integer, ruleType As WebApplicationRuleType, matchConditions As IEnumerable(Of WebApplicationRuleMatchCondition), action As RuleMatchActionType)

Parameter

priority
Int32

Beschreibt die Priorität der Regel. Regeln mit einem niedrigeren Wert werden vor Regeln mit einem höheren Wert ausgewertet.

ruleType
WebApplicationRuleType

Beschreibt den Regeltyp.

matchConditions
IEnumerable<WebApplicationRuleMatchCondition>

Liste der Übereinstimmungsbedingungen

action
RuleMatchActionType

Beschreibt, welche Aktion angewendet werden soll, wenn die Regel übereinstimmt.

Ausnahmen

matchConditions ist NULL.

Gilt für: