Partager via


ConfigurationClientBuilderExtensions.AddConfigurationClient Méthode

Définition

Surcharges

AddConfigurationClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Inscrit un ConfigurationClient instance.

AddConfigurationClient<TBuilder>(TBuilder, Uri)

Inscrit un ConfigurationClient instance avec le fourniconfigurationUri.

AddConfigurationClient<TBuilder>(TBuilder, String)

Inscrit un ConfigurationClient instance avec le fourniconnectionString.

AddConfigurationClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
ConfigurationClientBuilderExtensions.cs
Source:
ConfigurationClientBuilderExtensions.cs

Inscrit un ConfigurationClient instance.

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)

Paramètres de type

TBuilder
TConfiguration

Paramètres

builder
TBuilder

Générateur auprès de laquelle s’inscrire.

configuration
TConfiguration

Valeurs de configuration.

Retours

S’applique à

AddConfigurationClient<TBuilder>(TBuilder, Uri)

Source:
ConfigurationClientBuilderExtensions.cs
Source:
ConfigurationClientBuilderExtensions.cs

Inscrit un ConfigurationClient instance avec le fourniconfigurationUri.

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)

Paramètres de type

TBuilder

Paramètres

builder
TBuilder
configurationUri
Uri

Retours

S’applique à

AddConfigurationClient<TBuilder>(TBuilder, String)

Source:
ConfigurationClientBuilderExtensions.cs
Source:
ConfigurationClientBuilderExtensions.cs

Inscrit un ConfigurationClient instance avec le fourniconnectionString.

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)

Paramètres de type

TBuilder

Paramètres

builder
TBuilder
connectionString
String

Retours

S’applique à