你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FeatureFlagOptions.SetRefreshInterval(TimeSpan) Method

Definition

Sets the time after which feature flags can be refreshed.

public Microsoft.Extensions.Configuration.AzureAppConfiguration.FeatureManagement.FeatureFlagOptions SetRefreshInterval(TimeSpan refreshInterval);
member this.SetRefreshInterval : TimeSpan -> Microsoft.Extensions.Configuration.AzureAppConfiguration.FeatureManagement.FeatureFlagOptions
Public Function SetRefreshInterval (refreshInterval As TimeSpan) As FeatureFlagOptions

Parameters

refreshInterval
TimeSpan

Sets the minimum time interval between consecutive refresh operations for feature flags. Default value is 30 seconds. Must be greater than or equal to 1 second.

Returns

Applies to