共用方式為


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

適用於

另請參閱