ConfigurationClientBuilderExtensions.AddConfigurationClient Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
AddConfigurationClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Inscrit un ConfigurationClient instance. |
AddConfigurationClient<TBuilder>(TBuilder, Uri) |
Inscrit un ConfigurationClient instance avec le fourni |
AddConfigurationClient<TBuilder>(TBuilder, String) |
Inscrit un ConfigurationClient instance avec le fourni |
AddConfigurationClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
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)
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)
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 à
Azure SDK for .NET