Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HttpNotFound Method (String)
Collapse the table of content
Expand the table of content

Controller.HttpNotFound Method (String)

Returns an instance of the HttpNotFoundResult class.

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

protected internal virtual HttpNotFoundResult HttpNotFound(
	string statusDescription


Type: System.String
The status description.

Return Value

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