PageParser.GetCompiledPageInstance(String, String, HttpContext) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳特定虛擬路徑的編譯頁面實例。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
static System::Web::IHttpHandler ^ GetCompiledPageInstance(System::String ^ virtualPath, System::String ^ inputFile, System::Web::HttpContext ^ context);
public static System.Web.IHttpHandler GetCompiledPageInstance(string virtualPath, string inputFile, System.Web.HttpContext context);
static member GetCompiledPageInstance : string * string * System.Web.HttpContext -> System.Web.IHttpHandler
Public Shared Function GetCompiledPageInstance (virtualPath As String, inputFile As String, context As HttpContext) As IHttpHandler
參數
- virtualPath
- String
請求檔案的虛擬路徑。
- inputFile
- String
頁面的物理路徑。
- context
- HttpContext
一個包含當前網路請求資訊的物件。
傳回
回傳所請求頁面的編譯實例。