MemoryCacheSection 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
根据 MemoryCache 类定义缓存的配置节。 此类不能被继承。
public ref class MemoryCacheSection sealed : System::Configuration::ConfigurationSection
public sealed class MemoryCacheSection : System.Configuration.ConfigurationSection
type MemoryCacheSection = class
inherit ConfigurationSection
Public NotInheritable Class MemoryCacheSection
Inherits ConfigurationSection
- 继承
注解
该 MemoryCacheSection 类定义配置文件节中 memoryCache 可用的设置。 在本部分中,该 namedCaches 元素用于配置缓存的默认实例,并配置任何其他命名实例。
有关详细信息,请参阅 <memoryCache> 元素(缓存设置)。
构造函数
| 名称 | 说明 |
|---|---|
| MemoryCacheSection() |
初始化 MemoryCacheSection 类的新实例。 |