Partager via


ApiController.NotFound Method ()

 

Creates a NotFoundResult.

Namespace:   System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

protected internal virtual NotFoundResult NotFound()
public protected:
virtual NotFoundResult^ NotFound()
abstract NotFound : unit -> NotFoundResult
override NotFound : unit -> NotFoundResult
Protected Friend Overridable Function NotFound As NotFoundResult

Return Value

Type: System.Web.Http.Results.NotFoundResult

A NotFoundResult.

See Also

ApiController Class
System.Web.Http Namespace

Return to top