Share via


ValidationProblemDetails Constructors

Definition

Overloads

ValidationProblemDetails()

Initializes a new instance of ValidationProblemDetails.

ValidationProblemDetails(ModelStateDictionary)

Initializes a new instance of ValidationProblemDetails using the specified modelState.

ValidationProblemDetails(IDictionary<String,String[]>)

Initializes a new instance of ValidationProblemDetails using the specified errors.

ValidationProblemDetails()

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

Initializes a new instance of ValidationProblemDetails.

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

Applies to

ValidationProblemDetails(ModelStateDictionary)

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

Initializes a new instance of ValidationProblemDetails using the specified 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)

Parameters

modelState
ModelStateDictionary

ModelStateDictionary containing the validation errors.

Applies to

ValidationProblemDetails(IDictionary<String,String[]>)

Source:
ValidationProblemDetails.cs
Source:
ValidationProblemDetails.cs

Initializes a new instance of ValidationProblemDetails using the specified 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()))

Parameters

errors
IDictionary<String,String[]>

The validation errors.

Applies to