ConflictObjectResult 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
ConflictObjectResult(ModelStateDictionary) |
Crée une instance ConflictObjectResult. |
ConflictObjectResult(Object) |
Crée une instance ConflictObjectResult. |
ConflictObjectResult(ModelStateDictionary)
- Source:
- ConflictObjectResult.cs
- Source:
- ConflictObjectResult.cs
- Source:
- ConflictObjectResult.cs
Crée une instance ConflictObjectResult.
public:
ConflictObjectResult(Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ modelState);
public ConflictObjectResult (Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState);
new Microsoft.AspNetCore.Mvc.ConflictObjectResult : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary -> Microsoft.AspNetCore.Mvc.ConflictObjectResult
Public Sub New (modelState As ModelStateDictionary)
Paramètres
- modelState
- ModelStateDictionary
ModelStateDictionary contenant les erreurs de validation.
S’applique à
ConflictObjectResult(Object)
- Source:
- ConflictObjectResult.cs
- Source:
- ConflictObjectResult.cs
- Source:
- ConflictObjectResult.cs
Crée une instance ConflictObjectResult.
public:
ConflictObjectResult(System::Object ^ error);
public ConflictObjectResult (object error);
public ConflictObjectResult (object? error);
new Microsoft.AspNetCore.Mvc.ConflictObjectResult : obj -> Microsoft.AspNetCore.Mvc.ConflictObjectResult
Public Sub New (error As Object)
Paramètres
- error
- Object
Contient les erreurs à retourner au client.