ViewEngineResult Constructor
Initializes a new instance of the ViewEngineResult class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | ViewEngineResult(IEnumerable<String>) | Initializes a new instance of the ViewEngineResult class by using the specified searched locations. |
![]() | ViewEngineResult(IView, IViewEngine) | Initializes a new instance of the ViewEngineResult class by using the specified view and view engine. |
ViewEngineResult Constructor (IEnumerable<String>)
Initializes a new instance of the ViewEngineResult class by using the specified searched locations.
| Exception | Condition |
|---|---|
| ArgumentNullException | The searchedLocations parameter is null. |
ViewEngineResult Constructor (IView, IViewEngine)
Initializes a new instance of the ViewEngineResult class by using the specified view and view engine.
Parameters
- view
-
Type:
System.Web.Mvc.IView
The view.
- viewEngine
-
Type:
System.Web.Mvc.IViewEngine
The view engine.
| Exception | Condition |
|---|---|
| ArgumentNullException | The view or viewEngine parameter is null. |
Show:
