Partilhar via


ServiceBusConnectionStringBuilder Construtores

Definição

Sobrecargas

ServiceBusConnectionStringBuilder()

Cria uma instância de um novo ServiceBusConnectionStringBuilder

ServiceBusConnectionStringBuilder(String)

Cria a instância de um novo ServiceBusConnectionStringBuilder.

ServiceBusConnectionStringBuilder(String, String, String)

Cria a instância de um novo ServiceBusConnectionStringBuilder.

ServiceBusConnectionStringBuilder(String, String, String, TransportType)

Cria a instância de um novo ServiceBusConnectionStringBuilder.

ServiceBusConnectionStringBuilder(String, String, String, String)

Cria a instância de um novo ServiceBusConnectionStringBuilder.

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

Cria a instância de um novo ServiceBusConnectionStringBuilder.

ServiceBusConnectionStringBuilder()

Origem:
ServiceBusConnectionStringBuilder.cs

Cria uma instância de um novo ServiceBusConnectionStringBuilder

public ServiceBusConnectionStringBuilder ();
Public Sub New ()

Aplica-se a

ServiceBusConnectionStringBuilder(String)

Origem:
ServiceBusConnectionStringBuilder.cs

Cria a instância de um novo ServiceBusConnectionStringBuilder.

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

Parâmetros

connectionString
String

Cadeia de conexão para namespace ou entidade.

Aplica-se a

ServiceBusConnectionStringBuilder(String, String, String)

Origem:
ServiceBusConnectionStringBuilder.cs

Cria a instância de um novo 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)

Parâmetros

endpoint
String

Ponto de extremidade totalmente qualificado.

entityPath
String
sharedAccessSignature
String

Exemplos

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

Aplica-se a

ServiceBusConnectionStringBuilder(String, String, String, TransportType)

Origem:
ServiceBusConnectionStringBuilder.cs

Cria a instância de um novo 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)

Parâmetros

endpoint
String

Ponto de extremidade totalmente qualificado.

entityPath
String
sharedAccessSignature
String
transportType
TransportType

Exemplos

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

Aplica-se a

ServiceBusConnectionStringBuilder(String, String, String, String)

Origem:
ServiceBusConnectionStringBuilder.cs

Cria a instância de um novo 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)

Parâmetros

endpoint
String

Ponto de extremidade totalmente qualificado.

entityPath
String
sharedAccessKeyName
String
sharedAccessKey
String

Exemplos

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

Aplica-se a

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

Origem:
ServiceBusConnectionStringBuilder.cs

Cria a instância de um novo 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)

Parâmetros

endpoint
String

Ponto de extremidade totalmente qualificado.

entityPath
String
sharedAccessKeyName
String
sharedAccessKey
String
transportType
TransportType

Exemplos

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

Aplica-se a