InternalServerErrorResult Class

An action result that returns an empty Microsoft.AspNetCore.Http.StatusCodes.Status500InternalServerError response.

Namespace
System.Web.Http
Assemblies
  • Microsoft.AspNetCore.Mvc.WebApiCompatShim

Syntax

public class InternalServerErrorResult : StatusCodeResult, IActionResult
class System.Web.Http.InternalServerErrorResult

Constructors

InternalServerErrorResult()

Initializes a new instance of the System.Web.Http.InternalServerErrorResult class.

public InternalServerErrorResult()