Freigeben über


Controller.HttpNotFound Methode

Definition

Überlädt

HttpNotFound()

Gibt eine Instanz der HttpNotFoundResult-Klasse zurück.

HttpNotFound(String)

Gibt eine Instanz der HttpNotFoundResult-Klasse zurück.

HttpNotFound()

Gibt eine Instanz der HttpNotFoundResult-Klasse zurück.

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

Gibt zurück

Eine Instanz der HttpNotFoundResult-Klasse.

Gilt für:

HttpNotFound(String)

Gibt eine Instanz der HttpNotFoundResult-Klasse zurück.

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

Parameter

statusDescription
String

Die Statusbeschreibung.

Gibt zurück

Eine Instanz der HttpNotFoundResult-Klasse.

Gilt für: