OutputCacheUtility.SetupKernelCaching(String, HttpResponse) Método
Definição
Obtém a chave de cache do kernel.Gets the kernel cache key.
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.The original cache URL.
- response
- HttpResponse
A resposta HTTP.The HTTP response.
Retornos
A chave de cache do kernel se a resposta puder ser armazenada em cache no kernel; caso contrário, null.The kernel cache key if the response can be kernel cached; otherwise, null.