Condividi tramite


UnprocessableEntityObjectResult Costruttori

Definizione

Overload

UnprocessableEntityObjectResult(ModelStateDictionary)

Crea una nuova istanza di UnprocessableEntityObjectResult.

UnprocessableEntityObjectResult(Object)

Crea una nuova istanza di UnprocessableEntityObjectResult.

UnprocessableEntityObjectResult(ModelStateDictionary)

Origine:
UnprocessableEntityObjectResult.cs
Origine:
UnprocessableEntityObjectResult.cs
Origine:
UnprocessableEntityObjectResult.cs

Crea una nuova istanza di 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)

Parametri

modelState
ModelStateDictionary

ModelStateDictionary contenente gli errori di convalida.

Si applica a

UnprocessableEntityObjectResult(Object)

Origine:
UnprocessableEntityObjectResult.cs
Origine:
UnprocessableEntityObjectResult.cs
Origine:
UnprocessableEntityObjectResult.cs

Crea una nuova istanza di 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)

Parametri

error
Object

Contiene errori da restituire al client.

Si applica a