UrlHelper Constructor (RequestContext)

Visual Studio 2010

Initializes a new instance of the UrlHelper class using the specified request context.

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

'Declaration
Public Sub New ( _
	requestContext As RequestContext _
)

Parameters

requestContext
Type: System.Web.Routing.RequestContext
An object that contains information about the current request and about the route that it matched.

ExceptionCondition
ArgumentNullException

The requestContext parameter is Nothing.

Community Additions

ADD
Show: