Partager via


ApiController.NotFound Méthode

Définition

Crée un NotFoundResult (404 introuvable).

[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

Retours

Un NotFoundResult.

Attributs

S’applique à