Condividi tramite


ConflictObjectResult Costruttori

Definizione

Overload

ConflictObjectResult(ModelStateDictionary)

Crea una nuova istanza di ConflictObjectResult.

ConflictObjectResult(Object)

Crea una nuova istanza di ConflictObjectResult.

ConflictObjectResult(ModelStateDictionary)

Origine:
ConflictObjectResult.cs
Origine:
ConflictObjectResult.cs
Origine:
ConflictObjectResult.cs

Crea una nuova istanza di 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)

Parametri

modelState
ModelStateDictionary

ModelStateDictionary contenente gli errori di convalida.

Si applica a

ConflictObjectResult(Object)

Origine:
ConflictObjectResult.cs
Origine:
ConflictObjectResult.cs
Origine:
ConflictObjectResult.cs

Crea una nuova istanza di 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)

Parametri

error
Object

Contiene gli errori da restituire al client.

Si applica a