HttpNotFoundResult HttpNotFoundResult HttpNotFoundResult Class


Defines an object that is used to indicate that the requested resource was not found.

public class HttpNotFoundResult : System.Web.Mvc.HttpStatusCodeResult
type HttpNotFoundResult = class
    inherit HttpStatusCodeResult
Public Class HttpNotFoundResult
Inherits HttpStatusCodeResult


HttpNotFoundResult() HttpNotFoundResult() HttpNotFoundResult()

Initializes a new instance of the HttpNotFoundResult class.

HttpNotFoundResult(String) HttpNotFoundResult(String) HttpNotFoundResult(String)

Initializes a new instance of the HttpNotFoundResult class using a status description.


ExecuteResult(ControllerContext) ExecuteResult(ControllerContext) ExecuteResult(ControllerContext)

Enables processing of the result of an action method by a custom type that inherits from the ActionResult class.

(Inherited from HttpStatusCodeResult)


StatusCode StatusCode StatusCode

Gets the HTTP status code.

(Inherited from HttpStatusCodeResult)
StatusDescription StatusDescription StatusDescription

Gets the HTTP status description.

(Inherited from HttpStatusCodeResult)

Applies to