共用方式為


MvcRouteHandler.GetHttpHandler(RequestContext) 方法

定義

使用指定的 HTTP 內容,傳回 HTTP 處理常式。

protected 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
Protected Overridable Function GetHttpHandler (requestContext As RequestContext) As IHttpHandler

參數

requestContext
RequestContext

要求內容。

傳回

HTTP 處理常式。

適用於