Controller.HttpNotFound Método

Definição

Sobrecargas

HttpNotFound()

Retorna uma instância da classe HttpNotFoundResult.

HttpNotFound(String)

Retorna uma instância da classe HttpNotFoundResult.

HttpNotFound()

Retorna uma instância da classe HttpNotFoundResult.

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

Retornos

HttpNotFoundResult

Uma instância da classe HttpNotFoundResult.

Aplica-se a

HttpNotFound(String)

Retorna uma instância da 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

Parâmetros

statusDescription
String

A descrição do status.

Retornos

HttpNotFoundResult

Uma instância da classe HttpNotFoundResult.

Aplica-se a