Controller.HttpNotFound Méthode

Définition

Surcharges

HttpNotFound()

Retourne une instance de la classe HttpNotFoundResult.

HttpNotFound(String)

Retourne une instance de la classe HttpNotFoundResult.

HttpNotFound()

Retourne une instance de la classe HttpNotFoundResult.

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

Retours

Instance de la classe HttpNotFoundResult.

S’applique à

HttpNotFound(String)

Retourne une instance de la classe HttpNotFoundResult.

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

Paramètres

statusDescription
String

Description de l'état.

Retours

Instance de la classe HttpNotFoundResult.

S’applique à