SALES: 1-800-867-1380

AllowRule Class

Represents the rule to allow.

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

[DataContractAttribute(Name = "AllowRule", Namespace = "")]
public class AllowRule : AuthorizationRule

The AllowRule type exposes the following members.

Public methodAllowRule()Initializes a new instance of the AllowRule class.
Public methodAllowRule(String, AllowRuleClaimType, String, IEnumerable<AccessRights>)Initializes a new instance of the AllowRule class with the specified parameters.
Public methodAllowRule(String, String, String, IEnumerable<AccessRights>)Initializes a new instance of AllowRule class.

Public propertyClaimTypeGets or sets the claim type. (Inherited from AuthorizationRule.)
Public propertyClaimValueGets or sets the claim value which is either ‘Send’, ‘Listen’, or ‘Manage’. (Inherited from AuthorizationRule.)
Public propertyCreatedTimeGets or sets the date and time when the authorization rule was created. (Inherited from AuthorizationRule.)
Public propertyIssuerNameGets or sets the name identifier of the issuer. (Inherited from AuthorizationRule.)
Public propertyKeyNameGets or sets the allow rule key name. (Overrides AuthorizationRule.KeyName.)
Public propertyModifiedTimeGets or sets the date and time when the authorization rule was modified. (Inherited from AuthorizationRule.)
Public propertyRevisionGets or sets the modification revision number. (Inherited from AuthorizationRule.)
Public propertyRightsGets or sets the list of rights. (Inherited from AuthorizationRule.)

Public methodCloneCreates a copy of AuthorizationRule. (Inherited from AuthorizationRule.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from AuthorizationRule.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from AuthorizationRule.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnValidateEnables derived classes to provide custom handling when validating the authorization rule. (Inherited from AuthorizationRule.)
Public methodToString (Inherited from Object.)
Protected methodValidateRightsChecks the validity of the specified access rights. (Inherited from AuthorizationRule.)

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