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

包含有关当前 Web 请求的信息的对象。

返回

返回所请求页的已编译实例。

适用于

另请参阅