BuildManagerCompiledView Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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(ControllerContext, String)
Initializes a new instance of the BuildManagerCompiledView class using the specified controller context and view path.
protected BuildManagerCompiledView (System.Web.Mvc.ControllerContext controllerContext, string viewPath);
new System.Web.Mvc.BuildManagerCompiledView : System.Web.Mvc.ControllerContext * string -> System.Web.Mvc.BuildManagerCompiledView
Protected Sub New (controllerContext As ControllerContext, viewPath As String)
Parameters
- controllerContext
- ControllerContext
The controller context.
- viewPath
- String
The view path.
Applies to
BuildManagerCompiledView(ControllerContext, String, IViewPageActivator)
Initializes a new instance of the BuildManagerCompiledView class using the specified controller context, view path, and view page activator.
protected BuildManagerCompiledView (System.Web.Mvc.ControllerContext controllerContext, string viewPath, System.Web.Mvc.IViewPageActivator viewPageActivator);
new System.Web.Mvc.BuildManagerCompiledView : System.Web.Mvc.ControllerContext * string * System.Web.Mvc.IViewPageActivator -> System.Web.Mvc.BuildManagerCompiledView
Protected Sub New (controllerContext As ControllerContext, viewPath As String, viewPageActivator As IViewPageActivator)
Parameters
- controllerContext
- ControllerContext
Context information for the current controller. This information includes the HTTP context, request context, route data, parent action view context, and more.
- viewPath
- String
The path to the view that will be rendered.
- viewPageActivator
- IViewPageActivator
The object responsible for dynamically constructing the view page at run time.
Exceptions
The controllerContext
parameter is null.
The viewPath
parameter is null or empty.