Constructor to create an instance of this class.
Namespace: Microsoft.IdentityModel
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim sizeAfterPurge As Integer
Dim maximumSize As Integer

Dim instance As New MruSecurityTokenCache(sizeAfterPurge, maximumSize)

Syntax

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
)

Parameters

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.

Exceptions

Exception type Condition

Remarks


Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also