Méthode SecurityTokenCache.TryGetAllEntries
Attempts to retrieve all entries from the cache.
Espace de noms: Microsoft.IdentityModel.Tokens
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)
Utilisation
Dim instance As SecurityTokenCache Dim key As Object Dim tokens As IList(Of SecurityToken) Dim returnValue As Boolean returnValue = instance.TryGetAllEntries(key, tokens)
Syntaxe
'Déclaration
Public MustOverride Function TryGetAllEntries ( _
key As Object, _
<OutAttribute> ByRef tokens As IList(Of SecurityToken) _
) As Boolean
public abstract bool TryGetAllEntries (
Object key,
out IList<SecurityToken> tokens
)
public:
virtual bool TryGetAllEntries (
Object^ key,
[OutAttribute] IList<SecurityToken^>^% tokens
) abstract
public abstract boolean TryGetAllEntries (
Object key,
/** @attribute OutAttribute() */ /** @ref */ IList<SecurityToken> tokens
)
Paramètres
- key
The key of the entry to be retrieved.
- tokens
Valeur de retour
True on success. False on failure.
Exceptions
Type d'exception | Condition |
---|
Cohérence de thread
Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.
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 SecurityTokenCache
Membres SecurityTokenCache
Espace de noms Microsoft.IdentityModel.Tokens