Class PartialViewResult
Represents a base class that is used to send a partial view to the response.
public class PartialViewResult : ViewResultBase
- Inheritance
-
PartialViewResult
- Inherited Members
Constructors
PartialViewResult()
Initializes a new instance of the PartialViewResult class.
public PartialViewResult()
Methods
FindView(ControllerContext)
Returns the ViewEngineResult object that is used to render the view.
protected override ViewEngineResult FindView(ControllerContext context)
Parameters
context
ControllerContextThe controller context.
Returns
- ViewEngineResult
The view engine result.
Exceptions
- InvalidOperationException
An error occurred while the method was attempting to find the view.