MsalDistributedTokenCacheAdapter.RemoveKeyAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| RemoveKeyAsync(String) |
Supprime un cache de jeton spécifique, décrit par sa clé de cache du cache distribué. |
| RemoveKeyAsync(String, CacheSerializerHints) |
Supprime un cache de jeton spécifique, décrit par sa clé de cache du cache distribué. |
RemoveKeyAsync(String)
Supprime un cache de jeton spécifique, décrit par sa clé de cache du cache distribué.
protected override System.Threading.Tasks.Task RemoveKeyAsync(string cacheKey);
override this.RemoveKeyAsync : string -> System.Threading.Tasks.Task
Protected Overrides Function RemoveKeyAsync (cacheKey As String) As Task
Paramètres
- cacheKey
- String
Clé du cache à supprimer.
Retours
Une Task opération se termine lorsque la suppression de clé est terminée.
S’applique à
RemoveKeyAsync(String, CacheSerializerHints)
Supprime un cache de jeton spécifique, décrit par sa clé de cache du cache distribué.
protected override System.Threading.Tasks.Task RemoveKeyAsync(string cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints cacheSerializerHints);
override this.RemoveKeyAsync : string * Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints -> System.Threading.Tasks.Task
Protected Overrides Function RemoveKeyAsync (cacheKey As String, cacheSerializerHints As CacheSerializerHints) As Task
Paramètres
- cacheKey
- String
Clé du cache à supprimer.
- cacheSerializerHints
- CacheSerializerHints
Conseils pour l’optimisation de l’implémentation de sérialisation du cache.
Retours
Une Task opération se termine lorsque la suppression de clé est terminée.