IConfigurationManager<T> 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義用於擷取配置資料模型的介面。
public interface IConfigurationManager<T> where T : class
type IConfigurationManager<'T (requires 'T : null)> = interface
Public Interface IConfigurationManager(Of T)
類型參數
- T
IDocumentRetriever 的類型。
- 衍生
方法
| 名稱 | Description |
|---|---|
| GetConfigurationAsync(CancellationToken) |
擷取目前的設定,必要時刷新和/或快取。 若無法擷取配置,此方法會拋出,而非回傳 null。 |
| RequestRefresh() |
表示該配置可能已過時(如無法處理輸入令牌)。 |