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.
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.NotFoundObjectResult
Public Overridable Function NotFound (value As Object) As NotFoundObjectResult
The 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.NotFoundResult
Public Overridable Function NotFound () As NotFoundResult
The createdNotFoundResult for the response.
Was this page helpful?
Was this page helpful?