Méthode MruSecurityTokenCache.TryRemoveAllEntries
Deletes matching cache entries from the MruCache and returns a value that indicates whether any entry was deleted.
Espace de noms: Microsoft.IdentityModel
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)
Utilisation
Dim instance As MruSecurityTokenCache Dim key As Object Dim returnValue As Boolean returnValue = instance.TryRemoveAllEntries(key)
Syntaxe
'Déclaration
Public Overrides Function TryRemoveAllEntries ( _
key As Object _
) As Boolean
public override bool TryRemoveAllEntries (
Object key
)
public:
virtual bool TryRemoveAllEntries (
Object^ key
) override
public boolean TryRemoveAllEntries (
Object key
)
public override function TryRemoveAllEntries (
key : Object
) : boolean
Paramètres
- key
Specifies the key for the entry to be deleted.
Valeur de retour
True on deletion, otherwise, False.
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 MruSecurityTokenCache
Membres MruSecurityTokenCache
Espace de noms Microsoft.IdentityModel