Anteckning
Å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 ControllerContext class by using the specified controller context.
Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Sub New ( _
    controllerContext As ControllerContext _
)
protected ControllerContext(
    ControllerContext controllerContext
)
protected:
ControllerContext(
    ControllerContext^ controllerContext
)
Parameters
- controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context. 
Exceptions
| Exception | Condition | 
|---|---|
| ArgumentNullException | The controllerContext parameter is null reference (Nothing in Visual Basic).  |