Compartir a través de


Controller.HttpNotFound Método

Definición

Sobrecargas

HttpNotFound()

Devuelve una instancia de la clase HttpNotFoundResult.

HttpNotFound(String)

Devuelve una instancia de la clase HttpNotFoundResult.

HttpNotFound()

Devuelve una instancia de la clase HttpNotFoundResult.

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

Devoluciones

Instancia de la clase HttpNotFoundResult.

Se aplica a

HttpNotFound(String)

Devuelve una instancia de la clase 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

Parámetros

statusDescription
String

Descripción del estado.

Devoluciones

Instancia de la clase HttpNotFoundResult.

Se aplica a