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

AllowRule 构造函数

定义

重载

AllowRule()

初始化 AllowRule 类的新实例。

AllowRule(String, AllowRuleClaimType, String, IEnumerable<AccessRights>)

使用指定的参数初始化 AllowRule 类的新实例。

AllowRule(String, String, String, IEnumerable<AccessRights>)

初始化 AllowRule 类的新实例。

AllowRule()

初始化 AllowRule 类的新实例。

public AllowRule ();
Public Sub New ()

适用于

AllowRule(String, AllowRuleClaimType, String, IEnumerable<AccessRights>)

使用指定的参数初始化 AllowRule 类的新实例。

public AllowRule (string issuerName, Microsoft.ServiceBus.Messaging.AllowRuleClaimType claimType, string claimValue, System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.AccessRights> rights);
new Microsoft.ServiceBus.Messaging.AllowRule : string * Microsoft.ServiceBus.Messaging.AllowRuleClaimType * string * seq<Microsoft.ServiceBus.Messaging.AccessRights> -> Microsoft.ServiceBus.Messaging.AllowRule
Public Sub New (issuerName As String, claimType As AllowRuleClaimType, claimValue As String, rights As IEnumerable(Of AccessRights))

参数

issuerName
String

声明 IssuerName 颁发者的名称。

claimType
AllowRuleClaimType

声明 ClaimType 的类型。

claimValue
String

声明 ClaimValue 的值。

rights
IEnumerable<AccessRights>

可能的 Rights的列表。

适用于

AllowRule(String, String, String, IEnumerable<AccessRights>)

初始化 AllowRule 类的新实例。

public AllowRule (string issuerName, string claimType, string claimValue, System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.AccessRights> rights);
new Microsoft.ServiceBus.Messaging.AllowRule : string * string * string * seq<Microsoft.ServiceBus.Messaging.AccessRights> -> Microsoft.ServiceBus.Messaging.AllowRule
Public Sub New (issuerName As String, claimType As String, claimValue As String, rights As IEnumerable(Of AccessRights))

参数

issuerName
String

声明 IssuerName 颁发者的名称。

claimType
String

声明 ClaimType 的类型。

claimValue
String

声明 ClaimValue 的值。

rights
IEnumerable<AccessRights>

可能的 Rights的列表。

适用于