ServiceBusConnectionStringBuilder Class

Definition

Used to generate Service Bus connection strings.

public class ServiceBusConnectionStringBuilder
type ServiceBusConnectionStringBuilder = class
Public Class ServiceBusConnectionStringBuilder
Inheritance
ServiceBusConnectionStringBuilder

Constructors

ServiceBusConnectionStringBuilder()

Instantiates a new ServiceBusConnectionStringBuilder

ServiceBusConnectionStringBuilder(String)

Instantiates a new ServiceBusConnectionStringBuilder.

ServiceBusConnectionStringBuilder(String, String, String)

Instantiates a new ServiceBusConnectionStringBuilder.

ServiceBusConnectionStringBuilder(String, String, String, String)

Instantiates a new ServiceBusConnectionStringBuilder.

ServiceBusConnectionStringBuilder(String, String, String, String, TransportType)

Instantiates a new ServiceBusConnectionStringBuilder.

ServiceBusConnectionStringBuilder(String, String, String, TransportType)

Instantiates a new ServiceBusConnectionStringBuilder.

Properties

Authentication

Enables Azure Active Directory Managed Identity authentication when set to ServiceBusConnectionStringBuilder.AuthenticationType.ManagedIdentity

ConnectionIdleTimeout

Maximum duration after which an idle connection is closed.A connection is considered idle if it receives no traffic.

Endpoint

Fully qualified domain name of the endpoint.

EntityPath

Get the entity path value from the connection string

OperationTimeout

Duration after which individual operations will timeout.

SasKey

Get the shared access policy key value from the connection string

SasKeyName

Get the shared access policy owner name from the connection string

SasToken

Get the shared access signature token from the connection string

TransportType

Get the transport type from the connection string

Methods

GetEntityConnectionString()

Returns an interoperable connection string that can be used to connect to the given ServiceBus Entity

GetNamespaceConnectionString()

Returns an interoperable connection string that can be used to connect to ServiceBus Namespace

ToString()

Returns an interoperable connection string that can be used to connect to ServiceBus Namespace

Applies to