Constructor to create an instance of this class.
Пространство имен: Microsoft.IdentityModel
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Visual Basic |
---|
Dim sizeAfterPurge As Integer Dim maximumSize As Integer Dim comparer As IEqualityComparer(Of Object) Dim instance As New MruSecurityTokenCache(sizeAfterPurge, maximumSize, comparer) |
Синтаксис
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> ) |
Параметры
- 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.
Исключения
Тип исключений | Условие |
---|
Примечания