Class ServiceRegistrySettings
- Namespace
- Microsoft.ServiceBus
- Assembly
- Microsoft.ServiceBus.dll
Contains the settings for the Windows Azure Service Bus registry.
public class ServiceRegistrySettings : IEndpointBehavior
- Inheritance
-
ServiceRegistrySettings
- Implements
-
IEndpointBehavior
- Inherited Members
Constructors
ServiceRegistrySettings()
Initializes a new instance of the ServiceRegistrySettings class.
public ServiceRegistrySettings()
ServiceRegistrySettings(DiscoveryType)
Initializes a new instance of the ServiceRegistrySettings class using the specified discovery type.
public ServiceRegistrySettings(DiscoveryType discoveryType)
Parameters
discoveryType
DiscoveryTypeThe discovery type that indicates whether the endpoint is public or private.
Fields
allowUnauthenticatedAccess
true if your endpoint allows for unauthenticated access; otherwise, false. The default value is false.
protected bool allowUnauthenticatedAccess
Field Value
transportProtectionEnabled
true if transport protection is enabled; otherwise, false. The default value is true.
protected bool transportProtectionEnabled
Field Value
Properties
DiscoveryMode
Gets or sets how the service is discovered.
public DiscoveryType DiscoveryMode { get; set; }
Property Value
- DiscoveryType
Returns DiscoveryType.DiscoveryType.Public for discovery to be public; DiscoveryType.Private for discovery to be private. The default value is DiscoveryType.Private.
DisplayName
Gets or sets the display name for the endpoint.
public string DisplayName { get; set; }