Class UmbracoErrorResult
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ActionResult
Microsoft.AspNetCore.Mvc.ObjectResult
Namespace: Umbraco.Cms.Web.BackOffice.ActionResults
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public class UmbracoErrorResult : ObjectResult, IStatusCodeActionResult, IActionResult
Constructors
View SourceUmbracoErrorResult(HttpStatusCode, Object)
Declaration
public UmbracoErrorResult(HttpStatusCode statusCode, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Net.HttpStatusCode | statusCode | |
System.Object | value |
UmbracoErrorResult(HttpStatusCode, String)
Declaration
public UmbracoErrorResult(HttpStatusCode statusCode, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Net.HttpStatusCode | statusCode | |
System.String | message |