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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET