ValidationProblemDetails Construtores

Definição

Sobrecargas

ValidationProblemDetails()

Inicializa uma nova instância de ValidationProblemDetails.

ValidationProblemDetails(ModelStateDictionary)

Inicializa uma nova instância do ValidationProblemDetails usando o especificado modelState .

ValidationProblemDetails(IDictionary<String,String[]>)

Inicializa uma nova instância do ValidationProblemDetails usando o especificado errors .

ValidationProblemDetails()

Inicializa uma nova instância de ValidationProblemDetails.

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

Aplica-se a

ValidationProblemDetails(ModelStateDictionary)

Inicializa uma nova instância do ValidationProblemDetails usando o especificado 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)

Parâmetros

modelState
ModelStateDictionary

ModelStateDictionary que contém os erros de validação.

Aplica-se a

ValidationProblemDetails(IDictionary<String,String[]>)

Inicializa uma nova instância do ValidationProblemDetails usando o especificado 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()))

Parâmetros

errors
IDictionary<String,String[]>

Os erros de validação.

Aplica-se a