MsalAbstractTokenCacheProvider.ReadCacheBytesAsync 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 |
|---|---|
| ReadCacheBytesAsync(String) |
Metodo da implementare da serializzatori di cache concreti per leggere i byte della cache. |
| ReadCacheBytesAsync(String, CacheSerializerHints) |
Metodo di cui eseguire l'override da serializzatori di cache concreti per leggere i byte della cache. |
ReadCacheBytesAsync(String)
Metodo da implementare da serializzatori di cache concreti per leggere i byte della cache.
protected abstract System.Threading.Tasks.Task<byte[]?> ReadCacheBytesAsync(string cacheKey);
abstract member ReadCacheBytesAsync : string -> System.Threading.Tasks.Task<byte[]>
Protected MustOverride Function ReadCacheBytesAsync (cacheKey As String) As Task(Of Byte())
Parametri
- cacheKey
- String
Chiave della cache.
Valori restituiti
Byte letti.
Si applica a
ReadCacheBytesAsync(String, CacheSerializerHints)
Metodo di cui eseguire l'override da serializzatori di cache concreti per leggere i byte della cache.
protected virtual System.Threading.Tasks.Task<byte[]?> ReadCacheBytesAsync(string cacheKey, Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints cacheSerializerHints);
abstract member ReadCacheBytesAsync : string * Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints -> System.Threading.Tasks.Task<byte[]>
override this.ReadCacheBytesAsync : string * Microsoft.Identity.Web.TokenCacheProviders.CacheSerializerHints -> System.Threading.Tasks.Task<byte[]>
Protected Overridable Function ReadCacheBytesAsync (cacheKey As String, cacheSerializerHints As CacheSerializerHints) As Task(Of Byte())
Parametri
- cacheKey
- String
Chiave della cache.
- cacheSerializerHints
- CacheSerializerHints
Hint per l'ottimizzazione dell'implementazione della serializzazione della cache.
Valori restituiti
Byte letti.