MsalDistributedTokenCacheAdapter.WriteCacheBytesAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| WriteCacheBytesAsync(String, Byte[]) |
Scrive un BLOB della cache dei token nella cache di serializzazione (per chiave). |
| WriteCacheBytesAsync(String, Byte[], CacheSerializerHints) |
Scrive un BLOB della cache dei token nella cache di serializzazione (per chiave). |
WriteCacheBytesAsync(String, Byte[])
Scrive un BLOB della cache dei token nella cache di serializzazione (per chiave).
protected override System.Threading.Tasks.Task WriteCacheBytesAsync(string cacheKey, byte[] bytes);
override this.WriteCacheBytesAsync : string * byte[] -> System.Threading.Tasks.Task
Protected Overrides Function WriteCacheBytesAsync (cacheKey As String, bytes As Byte()) As Task
Parametri
- cacheKey
- String
Chiave della cache.
- bytes
- Byte[]
BLOB da scrivere.
Valori restituiti
Oggetto Task che viene completato al termine di un'operazione di scrittura.
Si applica a
WriteCacheBytesAsync(String, Byte[], CacheSerializerHints)
Scrive un BLOB della cache dei token nella cache di serializzazione (per chiave).
protected override System.Threading.Tasks.Task WriteCacheBytesAsync(string cacheKey, byte[] bytes, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints? cacheSerializerHints);
override this.WriteCacheBytesAsync : string * byte[] * Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints -> System.Threading.Tasks.Task
Protected Overrides Function WriteCacheBytesAsync (cacheKey As String, bytes As Byte(), cacheSerializerHints As CacheSerializerHints) As Task
Parametri
- cacheKey
- String
Chiave della cache.
- bytes
- Byte[]
BLOB da scrivere.
- cacheSerializerHints
- CacheSerializerHints
Hint per l'ottimizzazione dell'implementazione della serializzazione della cache.
Valori restituiti
Oggetto Task che viene completato al termine di un'operazione di scrittura.