SALES: 1-800-867-1380

AuthorizationPolicy Enumeration

Specifies whether Authorization is required for sending messages to a queue or router, receiving messages from a queue or router (via a listener, a push-subscription, or the dequeue endpoint), or neither, or both.

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

[DataContractAttribute(Name = "AuthorizationPolicy", Namespace = "")]
public enum AuthorizationPolicy

Member nameDescription
NotRequiredAuthorization is not required to send or receive messages from the queue or router.
RequiredToSendAuthorization is required to send to the queue or router, but not to receive from it.
RequiredToReceiveAuthorization is required to receive from the queue or router, but not to send to it.
Required(Default) Authorization is required to send to and receive from the queue or router.

Windows Azure Service Bus supports only Full Trust code access security.

Authorization is always required to manage the queue or router, i.e. to set or delete the policy. This policy element is strictly about the authorization requirements for senders and receivers.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft