Controller.HttpNotFound Controller.HttpNotFound Controller.HttpNotFound Method

Definition

Overloads

HttpNotFound() HttpNotFound() HttpNotFound()

Returns an instance of the HttpNotFoundResult class.

HttpNotFound(String) HttpNotFound(String) HttpNotFound(String)

Returns an instance of the HttpNotFoundResult class.

HttpNotFound() HttpNotFound() HttpNotFound()

Returns an instance of the HttpNotFoundResult class.

protected internal System.Web.Mvc.HttpNotFoundResult HttpNotFound ();
member this.HttpNotFound : unit -> System.Web.Mvc.HttpNotFoundResult
Protected Friend Function HttpNotFound () As HttpNotFoundResult

Returns

HttpNotFound(String) HttpNotFound(String) HttpNotFound(String)

Returns an instance of the HttpNotFoundResult class.

protected internal virtual System.Web.Mvc.HttpNotFoundResult HttpNotFound (string statusDescription);
abstract member HttpNotFound : string -> System.Web.Mvc.HttpNotFoundResult
override this.HttpNotFound : string -> System.Web.Mvc.HttpNotFoundResult
Protected Friend Overridable Function HttpNotFound (statusDescription As String) As HttpNotFoundResult

Parameters

statusDescription
String String String

The status description.

Returns

Applies to