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 comparer As IEqualityComparer(Of Object)

Dim instance As New MruSecurityTokenCache(sizeAfterPurge, maximumSize, comparer)

Syntax

Visual Basic
Public Sub New ( _
		sizeAfterPurge As Integer, _
		maximumSize As Integer, _
		comparer As IEqualityComparer(Of Object) _
)
C#
public MruSecurityTokenCache (
		int sizeAfterPurge,
		int maximumSize,
		IEqualityComparer<Object> comparer
)
C++
public:
MruSecurityTokenCache (
		int sizeAfterPurge, 
		int maximumSize, 
		IEqualityComparer<Object^>^ comparer
)
J#
public MruSecurityTokenCache (
		int sizeAfterPurge, 
		int maximumSize, 
		IEqualityComparer<Object> comparer
)
JScript
public function MruSecurityTokenCache (
		sizeAfterPurge : int, 
		maximumSize : int, 
		comparer : IEqualityComparer<Object>
)

Parameters

sizeAfterPurge

Specifies the size to which the cache is purged after it reaches maximumSize.

maximumSize

Specifies the maximum size of the cache.

comparer

Specifies the method used for comparing cache entries.

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