Constructor to create an instance of this
class.
Namespace: Microsoft.IdentityModel
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Visual Basic |
Dim maximumSize As Integer
Dim comparer As IEqualityComparer(Of Object)
Dim instance As New MruSecurityTokenCache(maximumSize, comparer)
|
Syntax
Visual Basic |
Public Sub New ( _
maximumSize As Integer, _
comparer As IEqualityComparer(Of Object) _
)
|
C# |
public MruSecurityTokenCache (
int maximumSize,
IEqualityComparer<Object> comparer
)
|
C++ |
public:
MruSecurityTokenCache (
int maximumSize,
IEqualityComparer<Object^>^ comparer
)
|
J# |
public MruSecurityTokenCache (
int maximumSize,
IEqualityComparer<Object> comparer
)
|
JScript |
public function MruSecurityTokenCache (
maximumSize : int,
comparer : IEqualityComparer<Object>
)
|
Parameters
- maximumSize
-
Defines the maximum size of the cache.
- comparer
-
The method used for comparing cache entries.
Exceptions
Remarks
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also