ValidationProblemDetails Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ValidationProblemDetails() |
Initializes a new instance of ValidationProblemDetails. |
ValidationProblemDetails(ModelStateDictionary) |
Initializes a new instance of ValidationProblemDetails using the specified |
ValidationProblemDetails(IDictionary<String,String[]>) |
Initializes a new instance of ValidationProblemDetails using the specified |
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.