BuildManagerCompiledView Constructor

 

Initializes a new instance of the BuildManagerCompiledView class.

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

NameDescription
System_CAPS_protmethodBuildManagerCompiledView(ControllerContext^, String^)

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

System_CAPS_protmethodBuildManagerCompiledView(ControllerContext^, String^, IViewPageActivator^)

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

Return to top

BuildManagerCompiledView Constructor (ControllerContext^, String^)

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

protected:
BuildManagerCompiledView(
	ControllerContext^ controllerContext,
	String^ viewPath
)

Parameters

controllerContext
Type: System.Web.Mvc::ControllerContext^

The controller context.

viewPath
Type: System::String^

The view path.

Return to top

BuildManagerCompiledView Constructor (ControllerContext^, String^, IViewPageActivator^)

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

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.

Exception Condition
ArgumentNullException

The controllerContext parameter is null.

ArgumentException

The viewPath parameter is null or empty.

Return to top
Show: