Table of Contents

Class ServiceRegistrySettings

Namespace
Microsoft.ServiceBus
Assembly
Microsoft.ServiceBus.dll

Contains the settings for the 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 DiscoveryType

The discovery type that indicates whether the endpoint is public or private.

Fields

allowUnauthenticatedAccess

true if the endpoint allows for unauthenticated access; otherwise, false. The default value is false.

protected bool allowUnauthenticatedAccess

Field Value

bool

transportProtectionEnabled

true if transport protection is enabled; otherwise, false. The default value is true.

protected bool transportProtectionEnabled

Field Value

bool

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; }

Property Value

string

Returns string.Contains the display name.