Table of Contents

Class ConnectivitySettings

Namespace
Microsoft.ServiceBus
Assembly
Microsoft.ServiceBus.dll

Holds the connectivity settings effective for all Azure Service Bus-based endpoints that are active in the current application domain.

public class ConnectivitySettings
Inheritance
ConnectivitySettings
Inherited Members

Constructors

ConnectivitySettings()

Initializes a new instance of the ConnectivitySettings class.

public ConnectivitySettings()

Properties

IsReadOnly

Gets a value that determines if the connectivity settings are read-only.

protected virtual bool IsReadOnly { get; }

Property Value

bool

true if the connectivity settings are read-only; otherwise, false.

Mode

Gets or sets the connectivity mode for the current application domain.

public ConnectivityMode Mode { get; set; }

Property Value

ConnectivityMode

Returns ConnectivityMode.Contains the connectivity mode.

ResolveDnsCallback

Allows configuring a delegate to resolve a host name into an IP address. The input Uri contains the scheme, host, and port being resolved. The resulting Task may return an IP address for the input host or just the original host name.

public Func<Uri, Task<string>> ResolveDnsCallback { get; set; }

Property Value

Func<Uri, Task<string>>