Freigeben über


ConflictObjectResult Konstruktoren

Definition

Überlädt

ConflictObjectResult(ModelStateDictionary)

Erstellt eine neue ConflictObjectResult-Instanz.

ConflictObjectResult(Object)

Erstellt eine neue ConflictObjectResult-Instanz.

ConflictObjectResult(ModelStateDictionary)

Quelle:
ConflictObjectResult.cs
Quelle:
ConflictObjectResult.cs
Quelle:
ConflictObjectResult.cs

Erstellt eine neue ConflictObjectResult-Instanz.

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)

Parameter

modelState
ModelStateDictionary

ModelStateDictionary enthält die Validierungsfehler.

Gilt für:

ConflictObjectResult(Object)

Quelle:
ConflictObjectResult.cs
Quelle:
ConflictObjectResult.cs
Quelle:
ConflictObjectResult.cs

Erstellt eine neue ConflictObjectResult-Instanz.

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)

Parameter

error
Object

Enthält die Fehler, die an den Client zurückgegeben werden sollen.

Gilt für: