AzureAppConfigurationRefreshOptions.Register Method

Definition

Overloads

Register(String, Boolean)

Register the specified individual key-value to be refreshed when the configuration provider's IConfigurationRefresher triggers a refresh. The IConfigurationRefresher instance can be obtained by calling GetRefresher().

Register(String, String, Boolean)

Register the specified individual key-value to be refreshed when the configuration provider's IConfigurationRefresher triggers a refresh. The IConfigurationRefresher instance can be obtained by calling GetRefresher().

Register(String, Boolean)

Register the specified individual key-value to be refreshed when the configuration provider's IConfigurationRefresher triggers a refresh. The IConfigurationRefresher instance can be obtained by calling GetRefresher().

public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationRefreshOptions Register (string key, bool refreshAll);
member this.Register : string * bool -> Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationRefreshOptions
Public Function Register (key As String, refreshAll As Boolean) As AzureAppConfigurationRefreshOptions

Parameters

key
String

Key of the key-value. Cannot function as a key filter for a collection of key-values.

refreshAll
Boolean

If true, a change in the value of this key refreshes all key-values being used by the configuration provider.

Returns

Applies to

Register(String, String, Boolean)

Register the specified individual key-value to be refreshed when the configuration provider's IConfigurationRefresher triggers a refresh. The IConfigurationRefresher instance can be obtained by calling GetRefresher().

public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationRefreshOptions Register (string key, string label = "\0", bool refreshAll = false);
member this.Register : string * string * bool -> Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationRefreshOptions
Public Function Register (key As String, Optional label As String = "\0", Optional refreshAll As Boolean = false) As AzureAppConfigurationRefreshOptions

Parameters

key
String

Key of the key-value. Cannot function as a key filter for a collection of key-values.

label
String

Label of the key-value.

refreshAll
Boolean

If true, a change in the value of this key refreshes all key-values being used by the configuration provider.

Returns

Applies to