Share via


Controller.HttpNotFound Method

Definition

Overloads

HttpNotFound()

Returns an instance of the HttpNotFoundResult class.

HttpNotFound(String)

Returns an instance of the HttpNotFoundResult class.

HttpNotFound()

Returns an instance of the HttpNotFoundResult class.

protected internal System.Web.Mvc.HttpNotFoundResult HttpNotFound();

Returns

An instance of the HttpNotFoundResult class.

Applies to

HttpNotFound(String)

Returns an instance of the HttpNotFoundResult class.

protected internal virtual System.Web.Mvc.HttpNotFoundResult HttpNotFound(string statusDescription);

Parameters

statusDescription
String

The status description.

Returns

An instance of the HttpNotFoundResult class.

Applies to