OutputCacheUtility.SetupKernelCaching(String, HttpResponse) 方法

定义

获取内核缓存密钥。

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

参数

originalCacheUrl
String

原始缓存 URL。

response
HttpResponse

HTTP 响应。

返回

如果响应可以缓存内核,则为内核缓存密钥;否则,为 null.

适用于