你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MatchCondition 构造函数

定义

重载

MatchCondition()

初始化 MatchCondition 类的新实例。

MatchCondition(IList<MatchVariable>, String, IList<String>, Nullable<Boolean>, IList<String>)

初始化 MatchCondition 类的新实例。

MatchCondition()

初始化 MatchCondition 类的新实例。

public MatchCondition();
Public Sub New ()

适用于

MatchCondition(IList<MatchVariable>, String, IList<String>, Nullable<Boolean>, IList<String>)

初始化 MatchCondition 类的新实例。

public MatchCondition(System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.MatchVariable> matchVariables, string operatorProperty, System.Collections.Generic.IList<string> matchValues, bool? negationConditon = default, System.Collections.Generic.IList<string> transforms = default);
new Microsoft.Azure.Management.Network.Models.MatchCondition : System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.MatchVariable> * string * System.Collections.Generic.IList<string> * Nullable<bool> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Network.Models.MatchCondition
Public Sub New (matchVariables As IList(Of MatchVariable), operatorProperty As String, matchValues As IList(Of String), Optional negationConditon As Nullable(Of Boolean) = Nothing, Optional transforms As IList(Of String) = Nothing)

参数

matchVariables
IList<MatchVariable>

匹配变量的列表。

operatorProperty
String

要匹配的运算符。 可能的值包括:“IPMatch”、“Equal”、“Contains”、“LessThan”、“GreaterThan”、“LessThanOrEqual”、“GreaterThanOrEqual”、“BeginsWith”、“EndsWith”、“Regex”、“GeoMatch”、“Any”

matchValues
IList<String>

匹配值。

negationConditon
Nullable<Boolean>

这是否为否定条件。

transforms
IList<String>

转换列表。

适用于