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)

abstract HttpNotFound : 
        statusDescription:string -> HttpNotFoundResult  
override 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