MruSecurityTokenCache Constructor (Int32, Int32)
Constructor to create an instance of this class.
Namespace: Microsoft.IdentityModel
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Usage
Dim sizeAfterPurge As Integer
Dim maximumSize As Integer
Dim instance As New MruSecurityTokenCache(sizeAfterPurge, maximumSize)
Syntax
'Declaration
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
)
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
Reference
MruSecurityTokenCache Class
MruSecurityTokenCache Members
Microsoft.IdentityModel Namespace