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)
'Declaration Protected Sub New ( _ controllerContext As ControllerContext, _ viewPath As String, _ viewPageActivator As IViewPageActivator _ ) 'Usage Dim controllerContext As ControllerContext Dim viewPath As String Dim viewPageActivator As IViewPageActivator Dim instance As New BuildManagerCompiledView(controllerContext, _ viewPath, 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 Nothing. |
| ArgumentException | The viewPath parameter is Nothing or empty. |
Show: