共用方式為


ConfigurationClient Constructors

Definition

Overloads

ConfigurationClient()

Protected constructor to allow mocking.

ConfigurationClient(String)

Initializes a new instance of the ConfigurationClient class.

ConfigurationClient(String, ConfigurationClientOptions)

Initializes a new instance of the ConfigurationClient class.

ConfigurationClient(Uri, TokenCredential)

Initializes a new instance of the ConfigurationClient class.

ConfigurationClient(Uri, TokenCredential, ConfigurationClientOptions)

Initializes a new instance of the ConfigurationClient class.

ConfigurationClient()

Source:
ConfigurationClient.cs
Source:
ConfigurationClient.cs

Protected constructor to allow mocking.

protected ConfigurationClient ();
Protected Sub New ()

Applies to

ConfigurationClient(String)

Source:
ConfigurationClient.cs
Source:
ConfigurationClient.cs

Initializes a new instance of the ConfigurationClient class.

public ConfigurationClient (string connectionString);
new Azure.Data.AppConfiguration.ConfigurationClient : string -> Azure.Data.AppConfiguration.ConfigurationClient
Public Sub New (connectionString As String)

Parameters

connectionString
String

Connection string with authentication option and related parameters.

Applies to

ConfigurationClient(String, ConfigurationClientOptions)

Source:
ConfigurationClient.cs
Source:
ConfigurationClient.cs

Initializes a new instance of the ConfigurationClient class.

public ConfigurationClient (string connectionString, Azure.Data.AppConfiguration.ConfigurationClientOptions options);
new Azure.Data.AppConfiguration.ConfigurationClient : string * Azure.Data.AppConfiguration.ConfigurationClientOptions -> Azure.Data.AppConfiguration.ConfigurationClient
Public Sub New (connectionString As String, options As ConfigurationClientOptions)

Parameters

connectionString
String

Connection string with authentication option and related parameters.

options
ConfigurationClientOptions

Options that allow configuration of requests sent to the configuration store.

Applies to

ConfigurationClient(Uri, TokenCredential)

Source:
ConfigurationClient.cs
Source:
ConfigurationClient.cs

Initializes a new instance of the ConfigurationClient class.

public ConfigurationClient (Uri endpoint, Azure.Core.TokenCredential credential);
new Azure.Data.AppConfiguration.ConfigurationClient : Uri * Azure.Core.TokenCredential -> Azure.Data.AppConfiguration.ConfigurationClient
Public Sub New (endpoint As Uri, credential As TokenCredential)

Parameters

endpoint
Uri

The Uri referencing the app configuration storage.

credential
TokenCredential

The token credential used to sign requests.

Applies to

ConfigurationClient(Uri, TokenCredential, ConfigurationClientOptions)

Source:
ConfigurationClient.cs
Source:
ConfigurationClient.cs

Initializes a new instance of the ConfigurationClient class.

public ConfigurationClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.Data.AppConfiguration.ConfigurationClientOptions options);
new Azure.Data.AppConfiguration.ConfigurationClient : Uri * Azure.Core.TokenCredential * Azure.Data.AppConfiguration.ConfigurationClientOptions -> Azure.Data.AppConfiguration.ConfigurationClient
Public Sub New (endpoint As Uri, credential As TokenCredential, options As ConfigurationClientOptions)

Parameters

endpoint
Uri

The Uri referencing the app configuration storage.

credential
TokenCredential

The token credential used to sign requests.

options
ConfigurationClientOptions

Options that allow configuration of requests sent to the configuration store.

Applies to