ViewEngineResult Constructor (IView, IViewEngine)

Initializes a new instance of the ViewEngineResult class by using the specified view and view engine.

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

new : 
        view:IView * 
        viewEngine:IViewEngine -> ViewEngineResult

Parameters

view
Type: System.Web.Mvc.IView

The view.

viewEngine
Type: System.Web.Mvc.IViewEngine

The view engine.

ExceptionCondition
ArgumentNullException

The view or viewEngine parameter is a null reference (Nothing in Visual Basic).

Show: