Sdílet prostřednictvím


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