DiscoverabilityPolicy Enumeration

An enumeration used to specify whether and under what circumstances a message buffer is discoverable in the service registry.

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

Syntax

'Declaration
<DataContractAttribute(Name := "DiscoverabilityPolicy", Namespace := "https://schemas.microsoft.com/netservices/2009/05/servicebus/connect")> _
Public Enumeration DiscoverabilityPolicy
'Usage
Dim instance As DiscoverabilityPolicy
[DataContractAttribute(Name = "DiscoverabilityPolicy", Namespace = "https://schemas.microsoft.com/netservices/2009/05/servicebus/connect")]
public enum DiscoverabilityPolicy
[DataContractAttribute(Name = L"DiscoverabilityPolicy", Namespace = L"https://schemas.microsoft.com/netservices/2009/05/servicebus/connect")]
public enum class DiscoverabilityPolicy
[<DataContractAttribute(Name = "DiscoverabilityPolicy", Namespace = "https://schemas.microsoft.com/netservices/2009/05/servicebus/connect")>]
type DiscoverabilityPolicy
public enum DiscoverabilityPolicy

Members

Member name Description
Public The message buffer is publicly discoverable.

No access token is required to discover message buffers published with this discoverability policy.

Managers (Default) The message buffer is discoverable to Managers.

A token containing the “manage” claim is required in order to discover message buffers created with this discoverability policy.

ManagersListeners The message buffer is discoverable to Managers and Listeners.

A token containing either the “manage” or “listen” claims is required in order to discover message buffers created with this discoverability policy.

ManagersListenersSenders The message buffer is discoverable to Managers, Listeners, and Senders.

A token containing either the “manage”, “listen”, or “send” claims is required in order to discover message buffers created with this discoverability policy.

Remarks

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

The discoverability policy distinguishes between unrestricted ‘Public’ access that allows anyone to discover the message buffer in the service registry without any authorization requirement, and restricted access that limits discoverability to clients that volunteer an Windows Azure Service Bus access token with particular associated rights. The service registry can always be queried without providing an access token but the content of the returned ATOM feed depends on whether a token is provided with the discovery call.

DiscoverabilityPolicy is used by message buffers to determine their level of visibility. For more information, see How to: Discover and Expose an AppFabric Service Bus Application and How to: Configure an AppFabric Service Bus Message Buffer.

See Also

Reference

Microsoft.ServiceBus Namespace