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

SharedAccessAuthorizationRule 构造函数

定义

重载

SharedAccessAuthorizationRule(String, IEnumerable<AccessRights>)

初始化 SharedAccessAuthorizationRule 类的新实例。

SharedAccessAuthorizationRule(String, String, IEnumerable<AccessRights>)

初始化 SharedAccessAuthorizationRule 类的新实例。

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

初始化 SharedAccessAuthorizationRule 类的新实例。

SharedAccessAuthorizationRule(String, IEnumerable<AccessRights>)

Source:
SharedAccessAuthorizationRule.cs
Source:
SharedAccessAuthorizationRule.cs

初始化 SharedAccessAuthorizationRule 类的新实例。

public SharedAccessAuthorizationRule (string keyName, System.Collections.Generic.IEnumerable<Azure.Messaging.ServiceBus.Administration.AccessRights> rights);
new Azure.Messaging.ServiceBus.Administration.SharedAccessAuthorizationRule : string * seq<Azure.Messaging.ServiceBus.Administration.AccessRights> -> Azure.Messaging.ServiceBus.Administration.SharedAccessAuthorizationRule
Public Sub New (keyName As String, rights As IEnumerable(Of AccessRights))

参数

keyName
String

授权规则密钥名称。

rights
IEnumerable<AccessRights>

权限列表。

适用于

SharedAccessAuthorizationRule(String, String, IEnumerable<AccessRights>)

Source:
SharedAccessAuthorizationRule.cs
Source:
SharedAccessAuthorizationRule.cs

初始化 SharedAccessAuthorizationRule 类的新实例。

public SharedAccessAuthorizationRule (string keyName, string primaryKey, System.Collections.Generic.IEnumerable<Azure.Messaging.ServiceBus.Administration.AccessRights> rights);
new Azure.Messaging.ServiceBus.Administration.SharedAccessAuthorizationRule : string * string * seq<Azure.Messaging.ServiceBus.Administration.AccessRights> -> Azure.Messaging.ServiceBus.Administration.SharedAccessAuthorizationRule
Public Sub New (keyName As String, primaryKey As String, rights As IEnumerable(Of AccessRights))

参数

keyName
String

授权规则密钥名称。

primaryKey
String

授权规则的主键。

rights
IEnumerable<AccessRights>

权限列表。

适用于

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

Source:
SharedAccessAuthorizationRule.cs
Source:
SharedAccessAuthorizationRule.cs

初始化 SharedAccessAuthorizationRule 类的新实例。

public SharedAccessAuthorizationRule (string keyName, string primaryKey, string secondaryKey, System.Collections.Generic.IEnumerable<Azure.Messaging.ServiceBus.Administration.AccessRights> rights);
new Azure.Messaging.ServiceBus.Administration.SharedAccessAuthorizationRule : string * string * string * seq<Azure.Messaging.ServiceBus.Administration.AccessRights> -> Azure.Messaging.ServiceBus.Administration.SharedAccessAuthorizationRule
Public Sub New (keyName As String, primaryKey As String, secondaryKey As String, rights As IEnumerable(Of AccessRights))

参数

keyName
String

授权规则密钥名称。

primaryKey
String

授权规则的主键。

secondaryKey
String

授权规则的辅助密钥。

rights
IEnumerable<AccessRights>

权限列表。

适用于