Compartir a través de


PageBase.NotFound Método

Definición

Sobrecargas

NotFound()

Crea un objeto NotFoundResult que genera una Status404NotFound respuesta.

NotFound(Object)

Crea un objeto NotFoundObjectResult que genera una Status404NotFound respuesta.

NotFound()

Source:
PageBase.cs
Source:
PageBase.cs
Source:
PageBase.cs

Crea un objeto NotFoundResult que genera una Status404NotFound respuesta.

public:
 virtual Microsoft::AspNetCore::Mvc::NotFoundResult ^ NotFound();
public virtual Microsoft.AspNetCore.Mvc.NotFoundResult NotFound ();
abstract member NotFound : unit -> Microsoft.AspNetCore.Mvc.NotFoundResult
override this.NotFound : unit -> Microsoft.AspNetCore.Mvc.NotFoundResult
Public Overridable Function NotFound () As NotFoundResult

Devoluciones

creado NotFoundResult para la respuesta.

Se aplica a

NotFound(Object)

Source:
PageBase.cs
Source:
PageBase.cs
Source:
PageBase.cs

Crea un objeto NotFoundObjectResult que genera una Status404NotFound respuesta.

public:
 virtual Microsoft::AspNetCore::Mvc::NotFoundObjectResult ^ NotFound(System::Object ^ value);
public virtual Microsoft.AspNetCore.Mvc.NotFoundObjectResult NotFound (object value);
abstract member NotFound : obj -> Microsoft.AspNetCore.Mvc.NotFoundObjectResult
override this.NotFound : obj -> Microsoft.AspNetCore.Mvc.NotFoundObjectResult
Public Overridable Function NotFound (value As Object) As NotFoundObjectResult

Parámetros

value
Object

Devoluciones

creado NotFoundObjectResult para la respuesta.

Se aplica a