An MRU cache (Most Recently Used).
下表列出了 MruSecurityTokenCache 类型公开的成员。
Public 构造函数
| 名称 | 说明 | |
|---|---|---|
| MruSecurityTokenCache | 已重载。 |
页首
Public 字段
| 名称 | 说明 | |
|---|---|---|
![]() |
DefaultTokenCacheSize |
页首
Public 属性
| 名称 | 说明 | |
|---|---|---|
![]() |
MaximumSize | Gets the maximum size of the cache. |
![]() |
Owner | Sets the SecurityTokenHandler that owns the cache. (从 SecurityTokenCache 继承) |
页首
Public 方法
(另请参阅 Protected 方法)
| 名称 | 说明 | |
|---|---|---|
![]() |
ClearEntries | 重写。 Clears the contents of the cache. |
![]() |
Equals | 已重载。 (从 Object 继承) |
![]() |
GetHashCode | (从 Object 继承) |
![]() |
GetType | (从 Object 继承) |
![]() ![]() |
ReferenceEquals | (从 Object 继承) |
![]() |
ToString | (从 Object 继承) |
![]() |
TryAddEntry | 重写。 Adds an entry to the cache and returns a value that indicates if the operation was successful. |
![]() |
TryGetAllEntries | 重写。 Returns all the entries that match the given key. |
![]() |
TryGetEntry | 重写。 Returns a value that indicates if the specified key exists in the cache. Also if it exists, marks it as MRU. |
![]() |
TryRemoveAllEntries | 重写。 Deletes matching cache entries from the MruCache and returns a value that indicates whether any entry was deleted. |
![]() |
TryRemoveEntry | 重写。 Deletes the specified cache entry from the MruCache and returns a value that indicates whether the entry was deleted. |
![]() |
TryReplaceEntry | 重写。 Attempts to replace an existing entry in the cache with a new one. |
页首
Protected 方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Finalize | (从 Object 继承) |
![]() |
MemberwiseClone | (从 Object 继承) |
页首
请参见
参考
MruSecurityTokenCache 类
Microsoft.IdentityModel 命名空间
版权所有 (C) 2008 Microsoft Corporation。保留所有权利。
.gif)
.gif)
.gif)
.gif)