AuthorizationRules AuthorizationRules AuthorizationRules Class

Definition

Represents a collection of AuthorizationRule.

[System.Runtime.Serialization.CollectionDataContract(ItemName="AuthorizationRule", Name="AuthorizationRules", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.ServiceBus.Messaging.AuthorizationRule))]
public class AuthorizationRules : System.Collections.Generic.ICollection<Microsoft.ServiceBus.Messaging.AuthorizationRule>, System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.AuthorizationRule>
type AuthorizationRules = class
    interface ICollection<AuthorizationRule>
    interface seq<AuthorizationRule>
    interface IEnumerable
Public Class AuthorizationRules
Implements ICollection(Of AuthorizationRule), IEnumerable(Of AuthorizationRule)
Inheritance
AuthorizationRulesAuthorizationRulesAuthorizationRules
Attributes
Implements

Constructors

AuthorizationRules() AuthorizationRules() AuthorizationRules()

Initializes a new instance of the AuthorizationRules class.

AuthorizationRules(IEnumerable<AuthorizationRule>) AuthorizationRules(IEnumerable<AuthorizationRule>) AuthorizationRules(IEnumerable<AuthorizationRule>)

Initializes a new instance of the AuthorizationRules class with a list of AuthorizationRule.

Fields

innerCollection innerCollection innerCollection

Specifies the inner collection.

Serializer Serializer Serializer

Specifies the serializer for serializing and deserializing the object.

Properties

Count Count Count

Gets or sets the number of AuthorizationRule contained in the collection.

IsReadOnly IsReadOnly IsReadOnly

Gets or sets whether the AuthorizationRules is read only.

RequiresEncryption RequiresEncryption RequiresEncryption

Gets a value that indicates whether the AuthorizationRules requires encryption.

Methods

Add(AuthorizationRule) Add(AuthorizationRule) Add(AuthorizationRule)

Adds the specified AuthorizationRule into the collection.

Clear() Clear() Clear()

Clears all elements in the collection.

Contains(AuthorizationRule) Contains(AuthorizationRule) Contains(AuthorizationRule)

Determines whether the specified item exists in the collection.

CopyTo(AuthorizationRule[], Int32) CopyTo(AuthorizationRule[], Int32) CopyTo(AuthorizationRule[], Int32)

Copies the elements into an array starting at the specified array index.

GetEnumerator() GetEnumerator() GetEnumerator()

Gets the enumerator that iterates through the collection.

GetRules(String) GetRules(String) GetRules(String)

Gets the set of AuthorizationRule that matches the specified value.

GetRules(Predicate<AuthorizationRule>) GetRules(Predicate<AuthorizationRule>) GetRules(Predicate<AuthorizationRule>)

Gets the sets of AuthorizationRule.

HasEqualRuntimeBehavior(AuthorizationRules) HasEqualRuntimeBehavior(AuthorizationRules) HasEqualRuntimeBehavior(AuthorizationRules)

Determines whether the specified AuthorizationRules has equal runtime behavior as this current object.

Remove(AuthorizationRule) Remove(AuthorizationRule) Remove(AuthorizationRule)

Removes the specified AuthorizationRule from the collection.

TryGetSharedAccessAuthorizationRule(String, SharedAccessAuthorizationRule) TryGetSharedAccessAuthorizationRule(String, SharedAccessAuthorizationRule) TryGetSharedAccessAuthorizationRule(String, SharedAccessAuthorizationRule)

Gets the rule associated with the specified key.

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Gets the enumerator that iterates through the collection.

Applies to