SALES: 1-800-867-1380

AuthorizationRules Class

Represents a collection of AuthorizationRule.


Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

[CollectionDataContractAttribute(Name = "AuthorizationRules", ItemName = "AuthorizationRule", 
	Namespace = "")]
public class AuthorizationRules : ICollection<AuthorizationRule>, 
	IEnumerable<AuthorizationRule>, IEnumerable

The AuthorizationRules type exposes the following members.

Public methodAuthorizationRules()Initializes a new instance of the AuthorizationRules class.
Public methodAuthorizationRules(IEnumerable<AuthorizationRule>)Initializes a new instance of the AuthorizationRules class with a list of AuthorizationRule.

Public propertyCountGets or sets the number of AuthorizationRule contained in the collection.
Public propertyIsReadOnlyGets or sets whether the AuthorizationRules is read only.
Public propertyRequiresEncryptionGets a value that indicates whether the AuthorizationRules requires encryption.

Public methodAddAdds the specified AuthorizationRule into the collection.
Public methodClearClears all elements in the collection.
Public methodContainsDetermines whether the specified item exists in the collection.
Public methodCopyToCopies the elements into an array starting at the specified array index.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumeratorGets the enumerator that iterates through the collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetRules(String)Gets the set of AuthorizationRule that matches the specified value.
Public methodGetRules(Predicate<AuthorizationRule>)Gets the sets of AuthorizationRule.
Public methodGetType (Inherited from Object.)
Public methodHasEqualRuntimeBehaviorDetermines whether the specified AuthorizationRules has equal runtime behavior as this current object.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveRemoves the specified AuthorizationRule from the collection.
Public methodToString (Inherited from Object.)
Public methodTryGetSharedAccessAuthorizationRuleGets the rule associated with the specified key.

Public fieldinnerCollectionSpecifies the inner collection.
Public fieldStatic memberSerializerSpecifies the serializer for serializing and deserializing the object.

Explicit interface implemetationPrivate methodIEnumerable.GetEnumeratorGets the enumerator that iterates through the collection.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft