IdentityModelCachesElement 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 <caches> 配置文件中的元素。 此类不能被继承。
public ref class IdentityModelCachesElement sealed : System::Configuration::ConfigurationElement
public sealed class IdentityModelCachesElement : System.Configuration.ConfigurationElement
type IdentityModelCachesElement = class
inherit ConfigurationElement
Public NotInheritable Class IdentityModelCachesElement
Inherits ConfigurationElement
- 继承
注解
该 <caches> 元素配置 WIF 的缓存服务。 它注册会话安全令牌缓存的类型以及要使用的令牌重播缓存的类型。 可以在元素下的 <identityConfiguration> 服务级别或元素下的安全令牌处理程序集合上 <securityTokenHandlerConfiguration> 指定它。
Caches类和类的属性IdentityConfigurationElementSecurityTokenHandlerConfigurationElement是 . 的IdentityModelCachesElement一个实例。 读取配置文件后,配置的缓存由 IdentityModelCaches 类表示。
构造函数
| 名称 | 说明 |
|---|---|
| IdentityModelCachesElement() |
初始化 IdentityModelCachesElement 类的新实例。 |