Export (0) Print
Expand All

AuthorizationRules Class

Represents a collection of AuthorizationRule.

System.Object
  Microsoft.ServiceBus.Messaging.AuthorizationRules

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

[CollectionDataContractAttribute(Name = "AuthorizationRules", ItemName = "AuthorizationRule", 
	Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class AuthorizationRules : ICollection<AuthorizationRule>, 
	IEnumerable<AuthorizationRule>, IEnumerable

The AuthorizationRules type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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.
Top

  NameDescription
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.
Top

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

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft