This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
| Name | Description |
|---|---|
| NotFound(Object) | Creates aNotFoundObjectResult that produces aStatus404NotFound response. |
| NotFound() | Creates aNotFoundResult that produces aStatus404NotFound response. |
Creates aNotFoundObjectResult that produces aStatus404NotFound response.
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.NotFoundObjectResultoverride this.NotFound : obj -> Microsoft.AspNetCore.Mvc.NotFoundObjectResultPublic Overridable Function NotFound (value As Object) As NotFoundObjectResultThe createdNotFoundObjectResult for the response.
Creates aNotFoundResult that produces aStatus404NotFound response.
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.NotFoundResultoverride this.NotFound : unit -> Microsoft.AspNetCore.Mvc.NotFoundResultPublic Overridable Function NotFound () As NotFoundResultThe createdNotFoundResult for the response.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?