UnprocessableEntityObjectResult UnprocessableEntityObjectResult UnprocessableEntityObjectResult Class

Definition

An ObjectResult that when executed will produce a Unprocessable Entity (422) response.

[Microsoft.AspNetCore.Mvc.Infrastructure.DefaultStatusCode(422)]
public class UnprocessableEntityObjectResult : Microsoft.AspNetCore.Mvc.ObjectResult
type UnprocessableEntityObjectResult = class
    inherit ObjectResult
Public Class UnprocessableEntityObjectResult
Inherits ObjectResult
Inheritance
UnprocessableEntityObjectResultUnprocessableEntityObjectResultUnprocessableEntityObjectResult
Attributes

Constructors

UnprocessableEntityObjectResult(ModelStateDictionary) UnprocessableEntityObjectResult(ModelStateDictionary) UnprocessableEntityObjectResult(ModelStateDictionary)

Creates a new UnprocessableEntityObjectResult instance.

UnprocessableEntityObjectResult(Object) UnprocessableEntityObjectResult(Object) UnprocessableEntityObjectResult(Object)

Creates a new UnprocessableEntityObjectResult instance.

Methods

ExecuteResult(ActionContext) ExecuteResult(ActionContext) ExecuteResult(ActionContext)

Executes the result operation of the action method synchronously. This method is called by MVC to process the result of an action method.

(Inherited from ActionResult)
ExecuteResultAsync(ActionContext) ExecuteResultAsync(ActionContext) ExecuteResultAsync(ActionContext) Inherited from ObjectResult
OnFormatting(ActionContext) OnFormatting(ActionContext) OnFormatting(ActionContext)

This method is called before the formatter writes to the output stream.

(Inherited from ObjectResult)

Properties

ContentTypes ContentTypes ContentTypes Inherited from ObjectResult
DeclaredType DeclaredType DeclaredType Inherited from ObjectResult
Formatters Formatters Formatters Inherited from ObjectResult
StatusCode StatusCode StatusCode

Gets or sets the HTTP status code.

(Inherited from ObjectResult)
Value Value Value Inherited from ObjectResult

Applies to