Share via


MvcRouteHandler Class

Definition

Creates an object that implements the IHttpHandler interface and passes the request context to it.

public class MvcRouteHandler : System.Web.Routing.IRouteHandler
type MvcRouteHandler = class
    interface IRouteHandler
Public Class MvcRouteHandler
Implements IRouteHandler
Inheritance
MvcRouteHandler
Implements

Constructors

MvcRouteHandler()

Initializes a new instance of the MvcRouteHandler class.

MvcRouteHandler(IControllerFactory)

Initializes a new instance of the MvcRouteHandler class using the specified factory controller object.

Methods

GetHttpHandler(RequestContext)

Returns the HTTP handler by using the specified HTTP context.

GetSessionStateBehavior(RequestContext)

Returns the session behavior.

Explicit Interface Implementations

IRouteHandler.GetHttpHandler(RequestContext)

Returns the HTTP handler by using the specified request context.

Applies to