BadRequestObjectResult Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.