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()

Initializes a new instance of the HttpNotFoundResult class.

HttpNotFoundResult(String)

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

Properties

StatusCode

Gets the HTTP status code.

(Inherited from HttpStatusCodeResult)
StatusDescription

Gets the HTTP status description.

(Inherited from HttpStatusCodeResult)

Methods

ExecuteResult(ControllerContext)

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

(Inherited from HttpStatusCodeResult)

Applies to