Language

SharedAccessAuthorizationRule Constructors

Definition

Overloads

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
System.String

The authorization rule key name.

rights
System.Collections.Generic.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
System.String

The authorization rule key name.

primaryKey
System.String

The primary key for the authorization rule.

rights
System.Collections.Generic.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
System.String

The authorization rule key name.

primaryKey
System.String

The primary key for the authorization rule.

secondaryKey
System.String

The secondary key for the authorization rule.

rights
System.Collections.Generic.IEnumerable<AccessRights>

The list of rights.

Applies to