Constructor to create an instance of this class.
Пространство имен: Microsoft.IdentityModel
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

Visual Basic
Dim sizeAfterPurge As Integer
Dim maximumSize As Integer

Dim instance As New MruSecurityTokenCache(sizeAfterPurge, maximumSize)

Синтаксис

Visual Basic
Public Sub New ( _
		sizeAfterPurge As Integer, _
		maximumSize As Integer _
)
C#
public MruSecurityTokenCache (
		int sizeAfterPurge,
		int maximumSize
)
C++
public:
MruSecurityTokenCache (
		int sizeAfterPurge, 
		int maximumSize
)
J#
public MruSecurityTokenCache (
		int sizeAfterPurge, 
		int maximumSize
)
JScript
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

См. также