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.
Obtient la clé de cache du 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
URL du cache d’origine.
- response
- HttpResponse
Réponse HTTP.
Retours
Clé de cache du noyau si la réponse peut être mise en cache du noyau ; sinon, null.