PageRouteHandler.GetHttpHandler(RequestContext) 方法

定义

返回用于处理请求的对象。

public:
 virtual System::Web::IHttpHandler ^ GetHttpHandler(System::Web::Routing::RequestContext ^ requestContext);
public virtual System.Web.IHttpHandler GetHttpHandler (System.Web.Routing.RequestContext requestContext);
abstract member GetHttpHandler : System.Web.Routing.RequestContext -> System.Web.IHttpHandler
override this.GetHttpHandler : System.Web.Routing.RequestContext -> System.Web.IHttpHandler
Public Overridable Function GetHttpHandler (requestContext As RequestContext) As IHttpHandler

参数

requestContext
RequestContext

一个对象,用于封装有关请求的信息。

返回

用于处理请求的对象。

实现

例外

requestContext 参数为 null

适用于

另请参阅