SALES: 1-800-867-1380
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.