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 响应。

返回

String

如果响应可进行内核缓存,则为内核缓存键;否则为 null

适用于