MsalDistributedTokenCacheAdapter.RemoveKeyAsync Metodo

Definizione

Overload

Nome Descrizione
RemoveKeyAsync(String)

Rimuove una cache di token specifica, descritta dalla relativa chiave della cache dalla cache distribuita.

RemoveKeyAsync(String, CacheSerializerHints)

Rimuove una cache di token specifica, descritta dalla relativa chiave della cache dalla cache distribuita.

RemoveKeyAsync(String)

Rimuove una cache di token specifica, descritta dalla relativa chiave della cache dalla cache distribuita.

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

Parametri

cacheKey
String

Chiave della cache da rimuovere.

Valori restituiti

Oggetto Task che viene completato al termine della rimozione della chiave.

Si applica a

RemoveKeyAsync(String, CacheSerializerHints)

Rimuove una cache di token specifica, descritta dalla relativa chiave della cache dalla cache distribuita.

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

Parametri

cacheKey
String

Chiave della cache da rimuovere.

cacheSerializerHints
CacheSerializerHints

Hint per l'ottimizzazione dell'implementazione della serializzazione della cache.

Valori restituiti

Oggetto Task che viene completato al termine della rimozione della chiave.

Si applica a