共用方式為


AzureAppConfigurationKeyVaultOptions.ConfigureClientOptions Method

Definition

Configures the client options used when connecting to key vaults that have no registered SecretClient. The client options will not affect SecretClient instances registered via Register(SecretClient).

public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationKeyVaultOptions ConfigureClientOptions (Action<Azure.Security.KeyVault.Secrets.SecretClientOptions> configure);
member this.ConfigureClientOptions : Action<Azure.Security.KeyVault.Secrets.SecretClientOptions> -> Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationKeyVaultOptions
Public Function ConfigureClientOptions (configure As Action(Of SecretClientOptions)) As AzureAppConfigurationKeyVaultOptions

Parameters

configure
Action<SecretClientOptions>

A callback used to configure secret client options.

Returns

Applies to