Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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 = "http://schemas.microsoft.com/netservices/2009/05/servicebus/connect")]
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.

Community Additions

© 2015 Microsoft