Share via


MvcRouteHandler 类

定义

创建实现 IHttpHandler 接口并将请求上下文传递给它的 对象。

public class MvcRouteHandler : System.Web.Routing.IRouteHandler
type MvcRouteHandler = class
    interface IRouteHandler
Public Class MvcRouteHandler
Implements IRouteHandler
继承
MvcRouteHandler
实现

构造函数

MvcRouteHandler()

初始化 MvcRouteHandler 类的新实例。

MvcRouteHandler(IControllerFactory)

使用指定的工厂控制器对象初始化 类的新实例 MvcRouteHandler

方法

GetHttpHandler(RequestContext)

使用指定的 HTTP 上下文返回 HTTP 处理程序。

GetSessionStateBehavior(RequestContext)

返回会话行为。

显式接口实现

IRouteHandler.GetHttpHandler(RequestContext)

使用指定的请求上下文返回 HTTP 处理程序。

适用于