Dela via


UnprocessableEntityObjectResult Constructors

Definition

Overloads

UnprocessableEntityObjectResult(ModelStateDictionary)

Creates a new UnprocessableEntityObjectResult instance.

UnprocessableEntityObjectResult(Object)

Creates a new UnprocessableEntityObjectResult instance.

UnprocessableEntityObjectResult(ModelStateDictionary)

Source:
UnprocessableEntityObjectResult.cs
Source:
UnprocessableEntityObjectResult.cs
Source:
UnprocessableEntityObjectResult.cs

Creates a new UnprocessableEntityObjectResult instance.

public:
 UnprocessableEntityObjectResult(Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ modelState);
public UnprocessableEntityObjectResult (Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState);
new Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary -> Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult
Public Sub New (modelState As ModelStateDictionary)

Parameters

modelState
ModelStateDictionary

ModelStateDictionary containing the validation errors.

Applies to

UnprocessableEntityObjectResult(Object)

Source:
UnprocessableEntityObjectResult.cs
Source:
UnprocessableEntityObjectResult.cs
Source:
UnprocessableEntityObjectResult.cs

Creates a new UnprocessableEntityObjectResult instance.

public:
 UnprocessableEntityObjectResult(System::Object ^ error);
public UnprocessableEntityObjectResult (object error);
public UnprocessableEntityObjectResult (object? error);
new Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult : obj -> Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult
Public Sub New (error As Object)

Parameters

error
Object

Contains errors to be returned to the client.

Applies to