ServiceBusClientBuilderExtensions.AddServiceBusClientWithNamespace<TBuilder> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET