Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
AzureAppConfigurationRefreshOptions.SetRefreshInterval(TimeSpan) Method
Definition
- Assembly:
- Microsoft.Extensions.Configuration.AzureAppConfiguration.dll
- Package:
- Microsoft.Extensions.Configuration.AzureAppConfiguration v8.5.0
- Package:
- Microsoft.Extensions.Configuration.AzureAppConfiguration v8.6.0-preview
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
Feedback
Was this page helpful?
