ServiceBusConnectionStringBuilder Constructors

Definition

Overloads

ServiceBusConnectionStringBuilder()

Initializes a new instance of the ServiceBusConnectionStringBuilder class.

ServiceBusConnectionStringBuilder(String)

Initializes a new instance of the ServiceBusConnectionStringBuilder class with a specified existing connection string.

ServiceBusConnectionStringBuilder()

Initializes a new instance of the ServiceBusConnectionStringBuilder class.

public ServiceBusConnectionStringBuilder ();
Public Sub New ()

ServiceBusConnectionStringBuilder(String)

Initializes a new instance of the ServiceBusConnectionStringBuilder class with a specified existing connection string.

public ServiceBusConnectionStringBuilder (string connectionString);
new Microsoft.ServiceBus.ServiceBusConnectionStringBuilder : string -> Microsoft.ServiceBus.ServiceBusConnectionStringBuilder
Public Sub New (connectionString As String)

Parameters

connectionString
String

The connection string, which you can obtain from the Azure Management Portal.

Exceptions

Throws if The connection string is missing endpoints.The connection string does not have enough information to form a token provider. For example, this can happen if you supplied a SasIssuer name but not a SasIssuer key.The OperationTimeout value is not in a valid TimeSpan format.The RuntimePort or ManagementPort values are not in an integer format.

Applies to