Partager via


BadRequestObjectResult Constructeurs

Définition

Surcharges

BadRequestObjectResult(ModelStateDictionary)

Crée une instance BadRequestObjectResult.

BadRequestObjectResult(Object)

Crée une instance BadRequestObjectResult.

BadRequestObjectResult(ModelStateDictionary)

Source:
BadRequestObjectResult.cs
Source:
BadRequestObjectResult.cs
Source:
BadRequestObjectResult.cs

Crée une instance BadRequestObjectResult.

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

Paramètres

modelState
ModelStateDictionary

ModelStateDictionary contenant les erreurs de validation.

S’applique à

BadRequestObjectResult(Object)

Source:
BadRequestObjectResult.cs
Source:
BadRequestObjectResult.cs
Source:
BadRequestObjectResult.cs

Crée une instance BadRequestObjectResult.

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

Paramètres

error
Object

Contient les erreurs à retourner au client.

S’applique à