Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

Controller.HttpNotFound Method

Returns an instance of the HttpNotFoundResult class.

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

protected internal HttpNotFoundResult HttpNotFound()

Return Value

Type: System.Web.Mvc.HttpNotFoundResult
An instance of the HttpNotFoundResult class.
Show:
© 2015 Microsoft