Shared​Access​Authorization​Rule Class

Definition

Defines the authorization rule for shared access operation.

[System.Runtime.Serialization.DataContract(Name="SharedAccessAuthorizationRule", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class SharedAccessAuthorizationRule : Microsoft.ServiceBus.Messaging.AuthorizationRule
Inheritance
SharedAccessAuthorizationRule
Attributes
System.Runtime.Serialization.DataContract

Inherited Members

Microsoft.ServiceBus.Messaging.AuthorizationRule

Constructors

Shared​Access​Authorization​Rule(​String, ​IEnumerable<​Access​Rights>)

Initializes a new instance of the SharedAccessAuthorizationRule class.

Shared​Access​Authorization​Rule(​String, ​String, ​IEnumerable<​Access​Rights>)

Initializes a new instance of the SharedAccessAuthorizationRule class.

Shared​Access​Authorization​Rule(​String, ​String, ​String, ​IEnumerable<​Access​Rights>)

Initializes a new instance of the SharedAccessAuthorizationRule class.

Fields

Serializer

Properties

Key​Name

Gets or sets the authorization rule key name.

Primary​Key

Gets or sets the primary key for the authorization rule.

Secondary​Key

Gets or sets the secondary key for the authorization rule.

Methods

Equals(​Object)

Determines whether the specified object is equal to the current object.

Generate​Random​Key()

Generates the random key for the authorization rule.

Get​Hash​Code()

Returns the hash code for this instance.

On​Validate()

Checks the validity of the authorization rule.

Validate​Rights(​IEnumerable<​Access​Rights>)

Checks the validity of the specified access rights.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)