UrlHelper Constructor (RequestContext)
Visual Studio 2010
Initializes a new instance of the UrlHelper class using the specified request context.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- requestContext
- Type: System.Web.Routing::RequestContext
An object that contains information about the current request and about the route that it matched.
| Exception | Condition |
|---|---|
| ArgumentNullException | The requestContext parameter is nullptr. |
Community Additions
ADD
Show: