Controller.HttpNotFound Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ü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.