Controller.HttpNotFound Method
Returns an instance of the HttpNotFoundResult class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | HttpNotFound() | Returns an instance of the HttpNotFoundResult class. |
![]() | HttpNotFound(String) | Returns an instance of the HttpNotFoundResult class. |
Controller.HttpNotFound Method (String)
Returns an instance of the HttpNotFoundResult class.
Parameters
- statusDescription
-
Type:
System.String
The status description.
Show:
