Partager via


MvcRouteHandler.IRouteHandler.GetHttpHandler Method

Retrieves the HTTP handler by using the specified request context.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Private Function GetHttpHandler ( _
    requestContext As RequestContext _
) As IHttpHandler Implements IRouteHandler.GetHttpHandler
IHttpHandler IRouteHandler.GetHttpHandler(
    RequestContext requestContext
)
private:
virtual IHttpHandler^ GetHttpHandler(
    RequestContext^ requestContext
) sealed = IRouteHandler::GetHttpHandler

Parameters

Return Value

Type: System.Web.IHttpHandler
The HTTP handler.

Implements

IRouteHandler.GetHttpHandler(RequestContext)

Remarks

This member is an explicit interface member implementation. It can be used only when the MvcRouteHandler instance is cast to an IRouteHandler interface.

See Also

Reference

MvcRouteHandler Class

System.Web.Mvc Namespace