Dela via


SharedAccessAuthorizationRule Constructors

Definition

Overloads

SharedAccessAuthorizationRule(String, IEnumerable<AccessRights>)

Initializes a new instance of the SharedAccessAuthorizationRule class.

SharedAccessAuthorizationRule(String, String, IEnumerable<AccessRights>)

Initializes a new instance of the SharedAccessAuthorizationRule class.

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

Initializes a new instance of the SharedAccessAuthorizationRule class.

SharedAccessAuthorizationRule(String, IEnumerable<AccessRights>)

Initializes a new instance of the SharedAccessAuthorizationRule class.

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

Parameters

keyName
String

The authorization rule key name.

rights
IEnumerable<AccessRights>

The list of rights.

Applies to

SharedAccessAuthorizationRule(String, String, IEnumerable<AccessRights>)

Initializes a new instance of the SharedAccessAuthorizationRule class.

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

Parameters

keyName
String

The authorization rule key name.

primaryKey
String

The primary key for the authorization rule.

rights
IEnumerable<AccessRights>

The list of rights.

Applies to

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

Initializes a new instance of the SharedAccessAuthorizationRule class.

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

Parameters

keyName
String

The authorization rule key name.

primaryKey
String

The primary key for the authorization rule.

secondaryKey
String

The secondary key for the authorization rule.

rights
IEnumerable<AccessRights>

The list of rights.

Applies to