Class UmbracoProblemResult
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ActionResult
Microsoft.AspNetCore.Mvc.ObjectResult
Namespace: Umbraco.Cms.Web.Common.ActionsResults
Assembly: Umbraco.Web.Common.dll
Syntax
public class UmbracoProblemResult : ObjectResult, IStatusCodeActionResult, IActionResult
Constructors
View SourceUmbracoProblemResult(String, HttpStatusCode)
Declaration
public UmbracoProblemResult(string message, HttpStatusCode httpStatusCode = HttpStatusCode.InternalServerError)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Net.HttpStatusCode | httpStatusCode |