ServiceRegistrySettings ServiceRegistrySettings Class

Contains the settings for the Azure Service Bus registry.

Syntax

Declaration

public class ServiceRegistrySettings : IEndpointBehaviorPublic Class ServiceRegistrySettings
    Implements IEndpointBehavior

Inheritance Hierarchy

  • ServiceRegistrySettings
    ServiceRegistrySettings

Constructors summary

Initializes a new instance of the ServiceRegistrySettings class.

Initializes a new instance of the ServiceRegistrySettings class using the specified discovery type.

Fields summary

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

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

Properties summary

Gets or sets how the service is discovered.

Gets or sets the display name for the endpoint.

Explicit Interface Implementations summary

Constructors

  • ServiceRegistrySettings()
    ServiceRegistrySettings()

    Initializes a new instance of the ServiceRegistrySettings class.

    public ServiceRegistrySettings()Public Sub New
  • ServiceRegistrySettings(DiscoveryType)
    ServiceRegistrySettings(DiscoveryType)

    Initializes a new instance of the ServiceRegistrySettings class using the specified discovery type.

    public ServiceRegistrySettings(DiscoveryType discoveryType)Public Sub New(discoveryType As DiscoveryType)

    Parameters

Fields

  • allowUnauthenticatedAccess
    allowUnauthenticatedAccess

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

    protected bool allowUnauthenticatedAccessProtected allowUnauthenticatedAccess As Boolean
  • transportProtectionEnabled
    transportProtectionEnabled

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

    protected bool transportProtectionEnabledProtected transportProtectionEnabled As Boolean

Properties

  • DiscoveryMode
    DiscoveryMode

    Gets or sets how the service is discovered.

    public DiscoveryType DiscoveryMode { get; set; }Public Property DiscoveryMode As DiscoveryType

    Property Value

    • Returns DiscoveryType.DiscoveryType.Public for discovery to be public; DiscoveryType.Private for discovery to be private. The default value is DiscoveryType.Private.

  • DisplayName
    DisplayName

    Gets or sets the display name for the endpoint.

    public string DisplayName { get; set; }Public Property DisplayName As String

    Property Value

Explicit Interface Implementations

  • IEndpointBehavior.AddBindingParameters(ServiceEndpoint, BindingParameterCollection)
    System.ServiceModel.Description.IEndpointBehavior.AddBindingParameters(ServiceEndpoint, BindingParameterCollection)
    void IEndpointBehavior.AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters)Sub System.ServiceModel.Description.IEndpointBehavior.AddBindingParameters(endpoint As ServiceEndpoint, bindingParameters As BindingParameterCollection) Implements IEndpointBehavior.AddBindingParameters

    Parameters

  • IEndpointBehavior.ApplyClientBehavior(ServiceEndpoint, ClientRuntime)
    System.ServiceModel.Description.IEndpointBehavior.ApplyClientBehavior(ServiceEndpoint, ClientRuntime)
    void IEndpointBehavior.ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime)Sub System.ServiceModel.Description.IEndpointBehavior.ApplyClientBehavior(endpoint As ServiceEndpoint, clientRuntime As ClientRuntime) Implements IEndpointBehavior.ApplyClientBehavior

    Parameters

  • IEndpointBehavior.ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher)
    System.ServiceModel.Description.IEndpointBehavior.ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher)
    void IEndpointBehavior.ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher)Sub System.ServiceModel.Description.IEndpointBehavior.ApplyDispatchBehavior(endpoint As ServiceEndpoint, endpointDispatcher As EndpointDispatcher) Implements IEndpointBehavior.ApplyDispatchBehavior

    Parameters

  • IEndpointBehavior.Validate(ServiceEndpoint)
    System.ServiceModel.Description.IEndpointBehavior.Validate(ServiceEndpoint)
    void IEndpointBehavior.Validate(ServiceEndpoint endpoint)Sub System.ServiceModel.Description.IEndpointBehavior.Validate(endpoint As ServiceEndpoint) Implements IEndpointBehavior.Validate

    Parameters

Details

Assembly

Microsoft.ServiceBus.dll