Share via


ServiceBusClientBuilderExtensions.AddServiceBusClientWithNamespace<TBuilder> Method

Definition

Registers a ServiceBusClient instance with the provided fullyQualifiedNamespace.

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

Type Parameters

TBuilder

Parameters

builder
TBuilder
fullyQualifiedNamespace
String

Returns

Applies to