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

IFeatureManagerSnapshot 接口

定义

提供功能标志状态快照,以确保给定请求的一致性。

public interface IFeatureManagerSnapshot : Microsoft.FeatureManagement.IFeatureManager
type IFeatureManagerSnapshot = interface
    interface IFeatureManager
Public Interface IFeatureManagerSnapshot
Implements IFeatureManager
实现

方法

GetFeatureFlagNamesAsync(CancellationToken)

检索功能管理器中注册的功能标志名称的列表。

(继承自 IFeatureManager)
GetFeatureNamesAsync()

检索在功能管理器中注册的功能名称的列表。

(继承自 IFeatureManager)
IsEnabledAsync(String)

检查是否启用了给定功能。

(继承自 IFeatureManager)
IsEnabledAsync(String, CancellationToken)

检查是否启用了给定的功能标志。

(继承自 IFeatureManager)
IsEnabledAsync<TContext>(String, TContext)

检查是否启用了给定功能。

(继承自 IFeatureManager)
IsEnabledAsync<TContext>(String, TContext, CancellationToken)

检查是否启用了给定的功能标志。

(继承自 IFeatureManager)

适用于