Compartilhar via


ConfigurationClientBuilderExtensions.AddConfigurationClient Método

Definição

Sobrecargas

AddConfigurationClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registra uma ConfigurationClient instância.

AddConfigurationClient<TBuilder>(TBuilder, Uri)

Registra uma ConfigurationClient instância com o fornecido configurationUri.

AddConfigurationClient<TBuilder>(TBuilder, String)

Registra uma ConfigurationClient instância com o fornecido connectionString.

AddConfigurationClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Origem:
ConfigurationClientBuilderExtensions.cs
Origem:
ConfigurationClientBuilderExtensions.cs

Registra uma ConfigurationClient instância.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Data.AppConfiguration.ConfigurationClient,Azure.Data.AppConfiguration.ConfigurationClientOptions> AddConfigurationClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddConfigurationClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Data.AppConfiguration.ConfigurationClient, Azure.Data.AppConfiguration.ConfigurationClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddConfigurationClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of ConfigurationClient, ConfigurationClientOptions)

Parâmetros de tipo

TBuilder
TConfiguration

Parâmetros

builder
TBuilder

O construtor com o qual se registrar.

configuration
TConfiguration

Os valores de configuração.

Retornos

Aplica-se a

AddConfigurationClient<TBuilder>(TBuilder, Uri)

Origem:
ConfigurationClientBuilderExtensions.cs
Origem:
ConfigurationClientBuilderExtensions.cs

Registra uma ConfigurationClient instância com o fornecido configurationUri.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Data.AppConfiguration.ConfigurationClient,Azure.Data.AppConfiguration.ConfigurationClientOptions> AddConfigurationClient<TBuilder> (this TBuilder builder, Uri configurationUri) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential;
static member AddConfigurationClient : 'Builder * Uri -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Data.AppConfiguration.ConfigurationClient, Azure.Data.AppConfiguration.ConfigurationClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential)
<Extension()>
Public Function AddConfigurationClient(Of TBuilder As IAzureClientFactoryBuilderWithCredential) (builder As TBuilder, configurationUri As Uri) As IAzureClientBuilder(Of ConfigurationClient, ConfigurationClientOptions)

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder
configurationUri
Uri

Retornos

Aplica-se a

AddConfigurationClient<TBuilder>(TBuilder, String)

Origem:
ConfigurationClientBuilderExtensions.cs
Origem:
ConfigurationClientBuilderExtensions.cs

Registra uma ConfigurationClient instância com o fornecido connectionString.

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Data.AppConfiguration.ConfigurationClient,Azure.Data.AppConfiguration.ConfigurationClientOptions> AddConfigurationClient<TBuilder> (this TBuilder builder, string connectionString) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddConfigurationClient : 'Builder * string -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Data.AppConfiguration.ConfigurationClient, Azure.Data.AppConfiguration.ConfigurationClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddConfigurationClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, connectionString As String) As IAzureClientBuilder(Of ConfigurationClient, ConfigurationClientOptions)

Parâmetros de tipo

TBuilder

Parâmetros

builder
TBuilder
connectionString
String

Retornos

Aplica-se a