MvcRouteHandler.IRouteHandler.GetHttpHandler Method

Returns the HTTP handler by using the specified request context.

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

'Declaration
Private Function GetHttpHandler ( _
	requestContext As RequestContext _
) As IHttpHandler Implements IRouteHandler.GetHttpHandler
'Usage
Dim instance As MvcRouteHandler 
Dim requestContext As RequestContext 
Dim returnValue As IHttpHandler 

returnValue = CType(instance, IRouteHandler).GetHttpHandler(requestContext)

Parameters

requestContext
Type: System.Web.Routing.RequestContext

The request context.

Return Value

Type: System.Web.IHttpHandler
The HTTP handler.

Implements

IRouteHandler.GetHttpHandler(RequestContext)

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

Show: