C# Class Microsoft.AspNetCore.Mvc.NotFoundObjectResult

An ObjectResult that when executed will produce a Not Found (404) response.
Inheritance: Microsoft.AspNetCore.Mvc.ObjectResult
Show file Open project: lodejard/AllNetCore Class Usage Examples

Public Methods

Method Description
NotFoundObjectResult ( object value ) : Microsoft.AspNetCore.Http

Creates a new NotFoundObjectResult instance.

Method Details

NotFoundObjectResult() public method

Creates a new NotFoundObjectResult instance.
public NotFoundObjectResult ( object value ) : Microsoft.AspNetCore.Http
value object The value to format in the entity body.
return Microsoft.AspNetCore.Http