Partager via


Constructeur MruSecurityTokenCache (Int32, IEqualityComparer générique)

Constructor to create an instance of this class.

Espace de noms: Microsoft.IdentityModel
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)

Utilisation

    Dim maximumSize As Integer
Dim comparer As IEqualityComparer(Of Object)

Dim instance As New MruSecurityTokenCache(maximumSize, comparer)

Syntaxe

'Déclaration
Public Sub New ( _
    maximumSize As Integer, _
    comparer As IEqualityComparer(Of Object) _
)
public MruSecurityTokenCache (
    int maximumSize,
    IEqualityComparer<Object> comparer
)
public:
MruSecurityTokenCache (
    int maximumSize, 
    IEqualityComparer<Object^>^ comparer
)
public MruSecurityTokenCache (
    int maximumSize, 
    IEqualityComparer<Object> comparer
)
public function MruSecurityTokenCache (
    maximumSize : int, 
    comparer : IEqualityComparer<Object>
)

Paramètres

  • maximumSize
    Defines the maximum size of the cache.
  • comparer
    The method used for comparing cache entries.

Exceptions

Type d'exception Condition

Remarques

Plateformes

Plateformes de développement

Windows Server 2003, Windows Vista

Target Platforms

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

Voir aussi

Référence

Classe MruSecurityTokenCache
Membres MruSecurityTokenCache
Espace de noms Microsoft.IdentityModel