Compartilhar via


ServiceBusClientBuilderExtensions.AddServiceBusClient Método

Definição

Sobrecargas

AddServiceBusClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registra uma ServiceBusClient instância com opções de conexão carregadas da instância fornecida configuration .

AddServiceBusClient<TBuilder>(TBuilder, String)

Registra uma ServiceBusClient instância com o fornecido connectionString.

AddServiceBusClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Origem:
ServiceBusClientBuilderExtensions.cs
Origem:
ServiceBusClientBuilderExtensions.cs

Registra uma ServiceBusClient instância com opções de conexão carregadas da instância fornecida configuration .

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.ServiceBus.ServiceBusClient,Azure.Messaging.ServiceBus.ServiceBusClientOptions> AddServiceBusClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddServiceBusClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.ServiceBus.ServiceBusClient, Azure.Messaging.ServiceBus.ServiceBusClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddServiceBusClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of ServiceBusClient, ServiceBusClientOptions)

Parâmetros de tipo

TBuilder
TConfiguration

Parâmetros

builder
TBuilder
configuration
TConfiguration

Retornos

Aplica-se a

AddServiceBusClient<TBuilder>(TBuilder, String)

Origem:
ServiceBusClientBuilderExtensions.cs
Origem:
ServiceBusClientBuilderExtensions.cs

Registra uma ServiceBusClient instância com o fornecido connectionString.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.ServiceBus.ServiceBusClient,Azure.Messaging.ServiceBus.ServiceBusClientOptions> AddServiceBusClient<TBuilder> (this TBuilder builder, string connectionString) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddServiceBusClient : 'Builder * string -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.ServiceBus.ServiceBusClient, Azure.Messaging.ServiceBus.ServiceBusClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddServiceBusClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, connectionString As String) As IAzureClientBuilder(Of ServiceBusClient, ServiceBusClientOptions)

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder
connectionString
String

Retornos

Aplica-se a