Partager via


ValidationProblemDetails Constructeurs

Définition

Surcharges

ValidationProblemDetails()

Initialise une nouvelle instance de ValidationProblemDetails.

ValidationProblemDetails(ModelStateDictionary)

Initialise une nouvelle instance de l’utilisation du ValidationProblemDetails spécifiémodelState.

ValidationProblemDetails(IDictionary<String,String[]>)

Initialise une nouvelle instance de l’utilisation du ValidationProblemDetails spécifiéerrors.

ValidationProblemDetails()

Source:
ValidationProblemDetails.cs
Source:
ValidationProblemDetails.cs
Source:
ValidationProblemDetails.cs

Initialise une nouvelle instance de ValidationProblemDetails.

public:
 ValidationProblemDetails();
public ValidationProblemDetails ();
Public Sub New ()

S’applique à

ValidationProblemDetails(ModelStateDictionary)

Source:
ValidationProblemDetails.cs
Source:
ValidationProblemDetails.cs
Source:
ValidationProblemDetails.cs

Initialise une nouvelle instance de l’utilisation du ValidationProblemDetails spécifiémodelState.

public:
 ValidationProblemDetails(Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ modelState);
public ValidationProblemDetails (Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState);
new Microsoft.AspNetCore.Mvc.ValidationProblemDetails : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary -> Microsoft.AspNetCore.Mvc.ValidationProblemDetails
Public Sub New (modelState As ModelStateDictionary)

Paramètres

modelState
ModelStateDictionary

ModelStateDictionary contenant les erreurs de validation.

S’applique à

ValidationProblemDetails(IDictionary<String,String[]>)

Source:
ValidationProblemDetails.cs
Source:
ValidationProblemDetails.cs

Initialise une nouvelle instance de l’utilisation du ValidationProblemDetails spécifiéerrors.

public:
 ValidationProblemDetails(System::Collections::Generic::IDictionary<System::String ^, cli::array <System::String ^> ^> ^ errors);
public ValidationProblemDetails (System.Collections.Generic.IDictionary<string,string[]> errors);
new Microsoft.AspNetCore.Mvc.ValidationProblemDetails : System.Collections.Generic.IDictionary<string, string[]> -> Microsoft.AspNetCore.Mvc.ValidationProblemDetails
Public Sub New (errors As IDictionary(Of String, String()))

Paramètres

errors
IDictionary<String,String[]>

Erreurs de validation

S’applique à