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
。