Метод MruSecurityTokenCache.TryGetAllEntries
Returns all the entries that match the given key.
Пространство имен: Microsoft.IdentityModel
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Dim instance As MruSecurityTokenCache Dim key As Object Dim tokens As IList(Of SecurityToken) Dim returnValue As Boolean returnValue = instance.TryGetAllEntries(key, tokens)
Синтаксис
'Декларация
Public Overrides Function TryGetAllEntries ( _
key As Object, _
<OutAttribute> ByRef tokens As IList(Of SecurityToken) _
) As Boolean
public override bool TryGetAllEntries (
Object key,
out IList<SecurityToken> tokens
)
public:
virtual bool TryGetAllEntries (
Object^ key,
[OutAttribute] IList<SecurityToken^>^% tokens
) override
public boolean TryGetAllEntries (
Object key,
/** @attribute OutAttribute() */ /** @ref */ IList<SecurityToken> tokens
)
Параметры
- key
Specifies the key to the entry to be retrieved.
- tokens
The list of tokens that match the given key.
Возвращаемое значение
'true' if tokens that match the key were found.
Исключения
Тип исключений | Условие |
---|
Безопасность потоков
Любые открытые статические члены (Shared в Visual Basic) этого типа являются поточно-ориентированными.Любые члены экземпляров не являются гарантированно поточно-ориентированными.
Платформы
Платформа разработки
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
См. также
Справочник
Класс MruSecurityTokenCache
MruSecurityTokenCache Члены
Пространство имен Microsoft.IdentityModel