HttpNotFoundObjectResult Class

Summary

An [Microsoft.AspNet.Mvc.ObjectResult]() that when executed will produce a Not Found (404) response.

Syntax

public class HttpNotFoundObjectResult : ObjectResult, IActionResult

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.HttpNotFoundObjectResult

Constructors

HttpNotFoundObjectResult(System.Object)

Creates a new [Microsoft.AspNet.Mvc.HttpNotFoundObjectResult](Microsoft.AspNet.Mvc.HttpNotFoundObjectResult.yml) instance.

Arguments:
  • value (System.Object) – The value to format in the entity body.
public HttpNotFoundObjectResult(object value)