OutputCacheUtility.SetupKernelCaching(String, HttpResponse) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取内核缓存密钥。
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.