Export (0) Print
Expand All

Controller.HttpNotFound Method (String)

Returns an instance of the HttpNotFoundResult class.

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

function HttpNotFound(
	statusDescription : String
) : HttpNotFoundResult

Parameters

statusDescription
Type: System.String
The status description.

Return Value

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