OutputCacheProviderAsync.GetAsync(String) 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.
Retourne de manière asynchrone une référence à l’entrée spécifiée dans le cache de sortie.
public:
abstract System::Threading::Tasks::Task<System::Object ^> ^ GetAsync(System::String ^ key);
public abstract System.Threading.Tasks.Task<object> GetAsync(string key);
abstract member GetAsync : string -> System.Threading.Tasks.Task<obj>
Public MustOverride Function GetAsync (key As String) As Task(Of Object)
Paramètres
- key
- String
Identificateur unique pour une entrée mise en cache dans le cache de sortie.
Retours
Valeur key qui identifie l’entrée spécifiée dans le cache ou null si l’entrée spécifiée n’est pas dans le cache.