ServiceBusClientBuilderExtensions.AddServiceBusClient Methode

Definition

Überlädt

AddServiceBusClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registriert eine ServiceBusClient instance mit Verbindungsoptionen, die aus dem bereitgestellten configuration instance geladen werden.

AddServiceBusClient<TBuilder>(TBuilder, String)

Registriert einen ServiceBusClient instance mit dem bereitgestellten connectionString.

AddServiceBusClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Quelle:
ServiceBusClientBuilderExtensions.cs
Quelle:
ServiceBusClientBuilderExtensions.cs

Registriert eine ServiceBusClient instance mit Verbindungsoptionen, die aus dem bereitgestellten configuration instance geladen werden.

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)

Typparameter

TBuilder
TConfiguration

Parameter

builder
TBuilder
configuration
TConfiguration

Gibt zurück

Gilt für:

AddServiceBusClient<TBuilder>(TBuilder, String)

Quelle:
ServiceBusClientBuilderExtensions.cs
Quelle:
ServiceBusClientBuilderExtensions.cs

Registriert einen ServiceBusClient instance mit dem bereitgestellten 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)

Typparameter

TBuilder

Parameter

builder
TBuilder
connectionString
String

Gibt zurück

Gilt für: