Partager via


ConflictObjectResult Constructeurs

Définition

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.

S’applique à