OutputCacheUtility.SetupKernelCaching(String, HttpResponse) 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.
Récupère la clé de cache de noyau.
public:
static System::String ^ SetupKernelCaching(System::String ^ originalCacheUrl, System::Web::HttpResponse ^ response);
public static string SetupKernelCaching (string originalCacheUrl, System.Web.HttpResponse response);
static member SetupKernelCaching : string * System.Web.HttpResponse -> string
Public Shared Function SetupKernelCaching (originalCacheUrl As String, response As HttpResponse) As String
Paramètres
- originalCacheUrl
- String
L’URL d’origine du cache.
- response
- HttpResponse
La réponse HTTP.
Retours
Clé de cache de noyau si la réponse peut être en cache dans le noyau ; sinon, null
.