IBufferDistributedCache Interface
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.
public interface class IBufferDistributedCache : Microsoft::Extensions::Caching::Distributed::IDistributedCache
public interface IBufferDistributedCache : Microsoft.Extensions.Caching.Distributed.IDistributedCache
type IBufferDistributedCache = interface
interface IDistributedCache
Public Interface IBufferDistributedCache
Implements IDistributedCache
- Dérivé
- Implémente
Méthodes
Méthodes d’extension
GetString(IDistributedCache, String) |
Obtient une chaîne à partir du cache spécifié avec la clé spécifiée. |
GetStringAsync(IDistributedCache, String, CancellationToken) |
Obtient de manière asynchrone une chaîne à partir du cache spécifié avec la clé spécifiée. |
Set(IDistributedCache, String, Byte[]) |
Définit une séquence d’octets dans le cache spécifié avec la clé spécifiée. |
SetAsync(IDistributedCache, String, Byte[], CancellationToken) |
Définit de manière asynchrone une séquence d’octets dans le cache spécifié avec la clé spécifiée. |
SetString(IDistributedCache, String, String) |
Définit une chaîne dans le cache spécifié avec la clé spécifiée. |
SetString(IDistributedCache, String, String, DistributedCacheEntryOptions) |
Définit une chaîne dans le cache spécifié avec la clé spécifiée. |
SetStringAsync(IDistributedCache, String, String, DistributedCacheEntryOptions, CancellationToken) |
Définit de manière asynchrone une chaîne dans le cache spécifié avec la clé spécifiée. |
SetStringAsync(IDistributedCache, String, String, CancellationToken) |
Définit de manière asynchrone une chaîne dans le cache spécifié avec la clé spécifiée. |
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour