BuildManagerCompiledView Constructor
Initializes a new instance of the BuildManagerCompiledView class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | BuildManagerCompiledView(ControllerContext^, String^) | Initializes a new instance of the BuildManagerCompiledView class using the specified controller context and view path. |
![]() | BuildManagerCompiledView(ControllerContext^, String^, IViewPageActivator^) | Initializes a new instance of the BuildManagerCompiledView class using the specified controller context, view path, and view page activator. |
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.
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. |
