Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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)
Syntax
'Declaration
Public Sub New ( _
requestContext As RequestContext _
)
public UrlHelper(
RequestContext requestContext
)
public:
UrlHelper(
RequestContext^ requestContext
)
Parameters
- requestContext
Type: System.Web.Routing.RequestContext
An object that contains information about the current request and about the route that it matched.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The requestContext parameter is null reference (Nothing in Visual Basic). |