ServiceBusConnectionStringBuilder Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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()
Cria uma instância de um novo ServiceBusConnectionStringBuilder
public ServiceBusConnectionStringBuilder ();
Public Sub New ()
Aplica-se a
ServiceBusConnectionStringBuilder(String)
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)
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)
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)
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)
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
Azure SDK for .NET