PageParser.GetCompiledPageInstance(String, String, HttpContext) 方法

定義

回傳特定虛擬路徑的編譯頁面實例。

此 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

一個包含當前網路請求資訊的物件。

傳回

回傳所請求頁面的編譯實例。

適用於

另請參閱