MruSecurityTokenCache 构造函数 (Int32, Int32)

Constructor to create an instance of this class.

命名空间: Microsoft.IdentityModel
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    Dim sizeAfterPurge As Integer
Dim maximumSize As Integer

Dim instance As New MruSecurityTokenCache(sizeAfterPurge, maximumSize)

语法

声明
Public Sub New ( _
    sizeAfterPurge As Integer, _
    maximumSize As Integer _
)
public MruSecurityTokenCache (
    int sizeAfterPurge,
    int maximumSize
)
public:
MruSecurityTokenCache (
    int sizeAfterPurge, 
    int maximumSize
)
public MruSecurityTokenCache (
    int sizeAfterPurge, 
    int maximumSize
)
public function MruSecurityTokenCache (
    sizeAfterPurge : int, 
    maximumSize : int
)

参数

  • sizeAfterPurge
    If the cache size exceeds maximumSize, the cache will be resized to sizeAfterPurge by removing least recently used items.
  • maximumSize
    Defines the maximum size of the cache.

异常

异常类型 条件

备注

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

请参见

参考

MruSecurityTokenCache 类
MruSecurityTokenCache 成员
Microsoft.IdentityModel 命名空间