다음을 통해 공유


ServiceBusClientBuilderExtensions.AddServiceBusAdministrationClient Method

Definition

Overloads

AddServiceBusAdministrationClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a ServiceBusAdministrationClient instance with connection options loaded from the provided configuration instance.

AddServiceBusAdministrationClient<TBuilder>(TBuilder, String)

Registers a ServiceBusAdministrationClient instance with the provided connectionString.

AddServiceBusAdministrationClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
ServiceBusClientBuilderExtensions.cs
Source:
ServiceBusClientBuilderExtensions.cs

Registers a ServiceBusAdministrationClient instance with connection options loaded from the provided configuration instance.

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

Type Parameters

TBuilder
TConfiguration

Parameters

builder
TBuilder
configuration
TConfiguration

Returns

Applies to

AddServiceBusAdministrationClient<TBuilder>(TBuilder, String)

Source:
ServiceBusClientBuilderExtensions.cs
Source:
ServiceBusClientBuilderExtensions.cs

Registers a ServiceBusAdministrationClient instance with the provided connectionString.

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

Type Parameters

TBuilder

Parameters

builder
TBuilder
connectionString
String

Returns

Applies to