Compartilhar via


OutputCacheUtility.SetupKernelCaching(String, HttpResponse) Método

Definição

Obtém a chave de cache do kernel.

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

Parâmetros

originalCacheUrl
String

A URL original do cache.

response
HttpResponse

A resposta HTTP.

Retornos

String

A chave de cache do kernel se a resposta puder ser armazenada em cache no kernel; caso contrário, null.

Aplica-se a