共用方式為


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

適用於