Freigeben über


ConfigurationClientBuilderExtensions.AddConfigurationClient Methode

Definition

Überlädt

AddConfigurationClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registriert eine ConfigurationClient instance.

AddConfigurationClient<TBuilder>(TBuilder, Uri)

Registriert einen ConfigurationClient instance bei der bereitgestellten configurationUri.

AddConfigurationClient<TBuilder>(TBuilder, String)

Registriert einen ConfigurationClient instance bei der bereitgestellten connectionString.

AddConfigurationClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Quelle:
ConfigurationClientBuilderExtensions.cs
Quelle:
ConfigurationClientBuilderExtensions.cs

Registriert eine 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)

Typparameter

TBuilder
TConfiguration

Parameter

builder
TBuilder

Der Generator, bei dem registriert werden soll.

configuration
TConfiguration

Die Konfigurationswerte.

Gibt zurück

Gilt für:

AddConfigurationClient<TBuilder>(TBuilder, Uri)

Quelle:
ConfigurationClientBuilderExtensions.cs
Quelle:
ConfigurationClientBuilderExtensions.cs

Registriert einen ConfigurationClient instance bei der bereitgestellten 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)

Typparameter

TBuilder

Parameter

builder
TBuilder
configurationUri
Uri

Gibt zurück

Gilt für:

AddConfigurationClient<TBuilder>(TBuilder, String)

Quelle:
ConfigurationClientBuilderExtensions.cs
Quelle:
ConfigurationClientBuilderExtensions.cs

Registriert einen ConfigurationClient instance bei der bereitgestellten 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)

Typparameter

TBuilder

Parameter

builder
TBuilder
connectionString
String

Gibt zurück

Gilt für: