Condividi tramite


PageBase.NotFound Metodo

Definizione

Overload

NotFound()

Crea un oggetto NotFoundResult che produce una Status404NotFound risposta.

NotFound(Object)

Crea un oggetto NotFoundObjectResult che produce una Status404NotFound risposta.

NotFound()

Origine:
PageBase.cs
Origine:
PageBase.cs
Origine:
PageBase.cs

Crea un oggetto NotFoundResult che produce una Status404NotFound risposta.

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

Restituisce

Oggetto creato NotFoundResult per la risposta.

Si applica a

NotFound(Object)

Origine:
PageBase.cs
Origine:
PageBase.cs
Origine:
PageBase.cs

Crea un oggetto NotFoundObjectResult che produce una Status404NotFound risposta.

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

Parametri

value
Object

Restituisce

Oggetto creato NotFoundObjectResult per la risposta.

Si applica a