Partilhar via


UnprocessableEntityObjectResult Construtores

Definição

Sobrecargas

UnprocessableEntityObjectResult(ModelStateDictionary)

Cria uma nova instância UnprocessableEntityObjectResult.

UnprocessableEntityObjectResult(Object)

Cria uma nova instância UnprocessableEntityObjectResult.

UnprocessableEntityObjectResult(ModelStateDictionary)

Origem:
UnprocessableEntityObjectResult.cs
Origem:
UnprocessableEntityObjectResult.cs
Origem:
UnprocessableEntityObjectResult.cs

Cria uma nova instância UnprocessableEntityObjectResult.

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)

Parâmetros

modelState
ModelStateDictionary

ModelStateDictionary que contém os erros de validação.

Aplica-se a

UnprocessableEntityObjectResult(Object)

Origem:
UnprocessableEntityObjectResult.cs
Origem:
UnprocessableEntityObjectResult.cs
Origem:
UnprocessableEntityObjectResult.cs

Cria uma nova instância UnprocessableEntityObjectResult.

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)

Parâmetros

error
Object

Contém erros a serem retornados ao cliente.

Aplica-se a