AzureAppConfigurationRefreshOptions.SetRefreshInterval(TimeSpan) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the minimum time interval between consecutive refresh operations for the registered key-values. Default value is 30 seconds. Must be greater than 1 second. Refresh operations triggered using IConfigurationRefresher will not make any server requests unless the refresh interval has elapsed since the key was last refreshed.
public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationRefreshOptions SetRefreshInterval (TimeSpan refreshInterval);
member this.SetRefreshInterval : TimeSpan -> Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationRefreshOptions
Public Function SetRefreshInterval (refreshInterval As TimeSpan) As AzureAppConfigurationRefreshOptions
Parameters
- refreshInterval
- TimeSpan
Minimum time that must elapse between each refresh for a specific key.
Returns
Applies to
Azure SDK for .NET