Partager via


UnprocessableEntityObjectResult Constructeurs

Définition

Surcharges

UnprocessableEntityObjectResult(ModelStateDictionary)

Crée une instance UnprocessableEntityObjectResult.

UnprocessableEntityObjectResult(Object)

Crée une instance UnprocessableEntityObjectResult.

UnprocessableEntityObjectResult(ModelStateDictionary)

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

Crée une instance 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)

Paramètres

modelState
ModelStateDictionary

ModelStateDictionary contenant les erreurs de validation.

S’applique à

UnprocessableEntityObjectResult(Object)

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

Crée une instance 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)

Paramètres

error
Object

Contient des erreurs à retourner au client.

S’applique à