Udostępnij za pośrednictwem


OutputCacheUtility.SetupKernelCaching(String, HttpResponse) Metoda

Definicja

Pobiera klucz pamięci podręcznej jądra.

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

Parametry

originalCacheUrl
String

Oryginalny adres URL pamięci podręcznej.

response
HttpResponse

Odpowiedź HTTP.

Zwraca

String

Klucz pamięci podręcznej jądra, jeśli odpowiedź może być buforowana przez jądro; w przeciwnym razie , null.

Dotyczy