ControllerContext Constructor (ControllerContext)

Visual Studio 2010

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)

protected:
ControllerContext(
	ControllerContext^ controllerContext
)

Parameters

controllerContext
Type: System.Web.Mvc::ControllerContext
The controller context.

ExceptionCondition
ArgumentNullException

The controllerContext parameter is nullptr.

Community Additions

ADD
Show: