HttpNotFoundResult HttpNotFoundResult HttpNotFoundResult Class

Definition

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
Inheritance

Constructors

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.

Methods

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)

Properties

StatusCode StatusCode StatusCode

Gets the HTTP status code.

(Inherited from HttpStatusCodeResult)
StatusDescription StatusDescription StatusDescription

Gets the HTTP status description.

(Inherited from HttpStatusCodeResult)

Applies to