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>
- Inheritance
-
AuthorizationRules
- Attributes
- Implements
Constructors
| AuthorizationRules() |
Initializes a new instance of the AuthorizationRules class. |
| AuthorizationRules(IEnumerable<AuthorizationRule>) |
Initializes a new instance of the AuthorizationRules class with a list of AuthorizationRule. |
Fields
| innerCollection |
Specifies the inner collection. |
| Serializer |
Specifies the serializer for serializing and deserializing the object. |
Properties
| Count |
Gets or sets the number of AuthorizationRule contained in the collection. |
| IsReadOnly |
Gets or sets whether the AuthorizationRules is read only. |
| RequiresEncryption |
Gets a value that indicates whether the AuthorizationRules requires encryption. |
Methods
| Add(AuthorizationRule) |
Adds the specified AuthorizationRule into the collection. |
| Clear() |
Clears all elements in the collection. |
| Contains(AuthorizationRule) |
Determines whether the specified item exists in the collection. |
| CopyTo(AuthorizationRule[], Int32) |
Copies the elements into an array starting at the specified array index. |
| GetEnumerator() |
Gets the enumerator that iterates through the collection. |
| GetRules(String) |
Gets the set of AuthorizationRule that matches the specified value. |
| GetRules(Predicate<AuthorizationRule>) |
Gets the sets of AuthorizationRule. |
| HasEqualRuntimeBehavior(AuthorizationRules) |
Determines whether the specified AuthorizationRules has equal runtime behavior as this current object. |
| Remove(AuthorizationRule) |
Removes the specified AuthorizationRule from the collection. |
| TryGetSharedAccessAuthorizationRule(String, SharedAccessAuthorizationRule) |
Gets the rule associated with the specified key. |
Explicit Interface Implementations
| IEnumerable.GetEnumerator() |
Gets the enumerator that iterates through the collection. |
Extension Methods
| IsDefined(Object) | |
| IsNull(Object) | |
| IsPrimitive(Object) |