Compartir a través de


ValidationProblemDetails Constructores

Definición

Sobrecargas

ValidationProblemDetails()

Inicializa una nueva instancia de la clase ValidationProblemDetails.

ValidationProblemDetails(ModelStateDictionary)

Inicializa una nueva instancia de ValidationProblemDetails mediante el especificado modelState.

ValidationProblemDetails(IDictionary<String,String[]>)

Inicializa una nueva instancia de ValidationProblemDetails mediante el especificado errors.

ValidationProblemDetails()

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

Inicializa una nueva instancia de la clase ValidationProblemDetails.

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

Se aplica a

ValidationProblemDetails(ModelStateDictionary)

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

Inicializa una nueva instancia de ValidationProblemDetails mediante el 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 contiene los errores de validación.

Se aplica a

ValidationProblemDetails(IDictionary<String,String[]>)

Source:
ValidationProblemDetails.cs
Source:
ValidationProblemDetails.cs

Inicializa una nueva instancia de ValidationProblemDetails mediante el 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[]>

Los errores de validación.

Se aplica a