Export (0) Print
Expand All

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 BuildManagerCompiledView(
	ControllerContext controllerContext,
	string viewPath,
	IViewPageActivator viewPageActivator
)

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 null.

ArgumentException

The viewPath parameter is null or empty.

Show:
© 2015 Microsoft