Condividi tramite


ServiceBusConnectionStringBuilder Constructors

Definition

Overloads

ServiceBusConnectionStringBuilder()

Instantiates a new ServiceBusConnectionStringBuilder

ServiceBusConnectionStringBuilder(String)

Instantiates a new ServiceBusConnectionStringBuilder.

ServiceBusConnectionStringBuilder(String, String, String)

Instantiates a new ServiceBusConnectionStringBuilder.

ServiceBusConnectionStringBuilder(String, String, String, TransportType)

Instantiates a new ServiceBusConnectionStringBuilder.

ServiceBusConnectionStringBuilder(String, String, String, String)

Instantiates a new ServiceBusConnectionStringBuilder.

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

Instantiates a new ServiceBusConnectionStringBuilder.

ServiceBusConnectionStringBuilder()

Source:
ServiceBusConnectionStringBuilder.cs
public ServiceBusConnectionStringBuilder ();
Public Sub New ()

Applies to

ServiceBusConnectionStringBuilder(String)

Source:
ServiceBusConnectionStringBuilder.cs

Instantiates a new ServiceBusConnectionStringBuilder.

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

Parameters

connectionString
String

Connection string for namespace or the entity.

Applies to

ServiceBusConnectionStringBuilder(String, String, String)

Source:
ServiceBusConnectionStringBuilder.cs

Instantiates a new ServiceBusConnectionStringBuilder.

public ServiceBusConnectionStringBuilder (string endpoint, string entityPath, string sharedAccessSignature);
new Microsoft.Azure.ServiceBus.ServiceBusConnectionStringBuilder : string * string * string -> Microsoft.Azure.ServiceBus.ServiceBusConnectionStringBuilder
Public Sub New (endpoint As String, entityPath As String, sharedAccessSignature As String)

Parameters

endpoint
String

Fully qualified endpoint.

entityPath
String
sharedAccessSignature
String

Examples

var connectionStringBuilder = new ServiceBusConnectionStringBuilder(
    "contoso.servicebus.windows.net",
    "myQueue",
    "{ ... SAS token ... }"
);

Applies to

ServiceBusConnectionStringBuilder(String, String, String, TransportType)

Source:
ServiceBusConnectionStringBuilder.cs

Instantiates a new ServiceBusConnectionStringBuilder.

public ServiceBusConnectionStringBuilder (string endpoint, string entityPath, string sharedAccessSignature, Microsoft.Azure.ServiceBus.TransportType transportType);
new Microsoft.Azure.ServiceBus.ServiceBusConnectionStringBuilder : string * string * string * Microsoft.Azure.ServiceBus.TransportType -> Microsoft.Azure.ServiceBus.ServiceBusConnectionStringBuilder
Public Sub New (endpoint As String, entityPath As String, sharedAccessSignature As String, transportType As TransportType)

Parameters

endpoint
String

Fully qualified endpoint.

entityPath
String
sharedAccessSignature
String
transportType
TransportType

Examples

var connectionStringBuilder = new ServiceBusConnectionStringBuilder(
    "contoso.servicebus.windows.net",
    "myQueue",
    "{ ... SAS token ... }",
    TransportType.Amqp
);

Applies to

ServiceBusConnectionStringBuilder(String, String, String, String)

Source:
ServiceBusConnectionStringBuilder.cs

Instantiates a new ServiceBusConnectionStringBuilder.

public ServiceBusConnectionStringBuilder (string endpoint, string entityPath, string sharedAccessKeyName, string sharedAccessKey);
new Microsoft.Azure.ServiceBus.ServiceBusConnectionStringBuilder : string * string * string * string -> Microsoft.Azure.ServiceBus.ServiceBusConnectionStringBuilder
Public Sub New (endpoint As String, entityPath As String, sharedAccessKeyName As String, sharedAccessKey As String)

Parameters

endpoint
String

Fully qualified endpoint.

entityPath
String
sharedAccessKeyName
String
sharedAccessKey
String

Examples

var connectionStringBuilder = new ServiceBusConnectionStringBuilder(
    "contoso.servicebus.windows.net",
    "myQueue",
    "RootManageSharedAccessKey",
    "<sharedAccessKey>
);

Applies to

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

Source:
ServiceBusConnectionStringBuilder.cs

Instantiates a new ServiceBusConnectionStringBuilder.

public ServiceBusConnectionStringBuilder (string endpoint, string entityPath, string sharedAccessKeyName, string sharedAccessKey, Microsoft.Azure.ServiceBus.TransportType transportType);
new Microsoft.Azure.ServiceBus.ServiceBusConnectionStringBuilder : string * string * string * string * Microsoft.Azure.ServiceBus.TransportType -> Microsoft.Azure.ServiceBus.ServiceBusConnectionStringBuilder
Public Sub New (endpoint As String, entityPath As String, sharedAccessKeyName As String, sharedAccessKey As String, transportType As TransportType)

Parameters

endpoint
String

Fully qualified endpoint.

entityPath
String
sharedAccessKeyName
String
sharedAccessKey
String
transportType
TransportType

Examples

var connectionStringBuilder = new ServiceBusConnectionStringBuilder(
    "contoso.servicebus.windows.net",
    "myQueue",
    "RootManageSharedAccessKey",
    "<sharedAccessKey>,
    TransportType.Amqp
);

Applies to