BuildManagerCompiledView Constructor (ControllerContext, String, IViewPageActivator)

Initializes a new instance of the BuildManagerCompiledView class using the specified controller context, view path, and view page activator.

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

protected function BuildManagerCompiledView(
	controllerContext : ControllerContext, 
	viewPath : String, 
	viewPageActivator : IViewPageActivator
)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

Context information for the current controller. This information includes the HTTP context, request context, route data, parent action view context, and more.

viewPath
Type: System.String

The path to the view that will be rendered.

viewPageActivator
Type: System.Web.Mvc.IViewPageActivator

The object responsible for dynamically constructing the view page at run time.

ExceptionCondition
ArgumentNullException

The controllerContext parameter is a null reference (Nothing in Visual Basic).

ArgumentException

The viewPath parameter is a null reference (Nothing in Visual Basic) or empty.

Show: