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

FeatureFlagOptions Class

Definition

Options used to configure the feature flags to be parsed.

public class FeatureFlagOptions
type FeatureFlagOptions = class
Public Class FeatureFlagOptions
Inheritance
FeatureFlagOptions

Constructors

Name Description
FeatureFlagOptions()

Properties

Name Description
CacheExpirationInterval
Obsolete.

The time after which the cached values of the feature flags expire. Must be greater than or equal to 1 second.

Label

The label that feature flags will be selected from.

Methods

Name Description
Select(String, String, IEnumerable<String>)

Specify what feature flags to include in the configuration provider. Select(String, String, IEnumerable<String>) can be called multiple times to include multiple sets of feature flags.

SetRefreshInterval(TimeSpan)

Sets the time after which feature flags can be refreshed.

Applies to