QueueClientBuilderExtensions.AddQueueServiceClient 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.
Overloads
AddQueueServiceClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Registers a QueueServiceClient instance with connection options loaded from the provided |
AddQueueServiceClient<TBuilder>(TBuilder, String) |
Registers a QueueServiceClient instance with the provided |
AddQueueServiceClient<TBuilder>(TBuilder, Uri) |
Registers a QueueServiceClient instance with the provided |
AddQueueServiceClient<TBuilder>(TBuilder, Uri, StorageSharedKeyCredential) |
Registers a QueueServiceClient instance with the provided |
AddQueueServiceClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
Registers a QueueServiceClient instance with connection options loaded from the provided configuration
instance.
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Queues.QueueServiceClient,Azure.Storage.Queues.QueueClientOptions> AddQueueServiceClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddQueueServiceClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Queues.QueueServiceClient, Azure.Storage.Queues.QueueClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddQueueServiceClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of QueueServiceClient, QueueClientOptions)
Type Parameters
- TBuilder
- TConfiguration
Parameters
- builder
- TBuilder
- configuration
- TConfiguration
Returns
Applies to
AddQueueServiceClient<TBuilder>(TBuilder, String)
Registers a QueueServiceClient instance with the provided connectionString
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Queues.QueueServiceClient,Azure.Storage.Queues.QueueClientOptions> AddQueueServiceClient<TBuilder> (this TBuilder builder, string connectionString) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddQueueServiceClient : 'Builder * string -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Queues.QueueServiceClient, Azure.Storage.Queues.QueueClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddQueueServiceClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, connectionString As String) As IAzureClientBuilder(Of QueueServiceClient, QueueClientOptions)
Type Parameters
- TBuilder
Parameters
- builder
- TBuilder
- connectionString
- String
Returns
Applies to
AddQueueServiceClient<TBuilder>(TBuilder, Uri)
Registers a QueueServiceClient instance with the provided serviceUri
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Queues.QueueServiceClient,Azure.Storage.Queues.QueueClientOptions> AddQueueServiceClient<TBuilder> (this TBuilder builder, Uri serviceUri) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddQueueServiceClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Queues.QueueServiceClient, Azure.Storage.Queues.QueueClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddQueueServiceClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, serviceUri As Uri) As IAzureClientBuilder(Of QueueServiceClient, QueueClientOptions)
Type Parameters
- TBuilder
Parameters
- builder
- TBuilder
- serviceUri
- Uri
Returns
Applies to
AddQueueServiceClient<TBuilder>(TBuilder, Uri, StorageSharedKeyCredential)
Registers a QueueServiceClient instance with the provided serviceUri
and sharedKeyCredential
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Queues.QueueServiceClient,Azure.Storage.Queues.QueueClientOptions> AddQueueServiceClient<TBuilder> (this TBuilder builder, Uri serviceUri, Azure.Storage.StorageSharedKeyCredential sharedKeyCredential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddQueueServiceClient : 'Builder * Uri * Azure.Storage.StorageSharedKeyCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Storage.Queues.QueueServiceClient, Azure.Storage.Queues.QueueClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddQueueServiceClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, serviceUri As Uri, sharedKeyCredential As StorageSharedKeyCredential) As IAzureClientBuilder(Of QueueServiceClient, QueueClientOptions)
Type Parameters
- TBuilder
Parameters
- builder
- TBuilder
- serviceUri
- Uri
- sharedKeyCredential
- StorageSharedKeyCredential
Returns
Applies to
Azure SDK for .NET