ControllerBase.NotFound Methode

Definition

Überlädt

NotFound(Object)

Erstellt eine NotFoundObjectResult , die eine Status404NotFound Antwort erzeugt.

NotFound()

Erstellt eine NotFoundResult , die eine Status404NotFound Antwort erzeugt.

NotFound(Object)

Erstellt eine NotFoundObjectResult , die eine Status404NotFound Antwort erzeugt.

public:
 virtual Microsoft::AspNetCore::Mvc::NotFoundObjectResult ^ NotFound(System::Object ^ value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.NotFoundObjectResult NotFound (object value);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.NotFoundObjectResult NotFound (object? value);
[<Microsoft.AspNetCore.Mvc.NonAction>]
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

Parameter

value
Object

Gibt zurück

Die für die Antwort erstellte NotFoundObjectResult .

Attribute

Gilt für:

NotFound()

Erstellt eine NotFoundResult , die eine Status404NotFound Antwort erzeugt.

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

Gibt zurück

Die für die Antwort erstellte NotFoundResult .

Attribute

Gilt für: