HttpValidationProblemDetails 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
HttpValidationProblemDetails() |
Initializes a new instance of HttpValidationProblemDetails. |
HttpValidationProblemDetails(IDictionary<String,String[]>) |
Initializes a new instance of HttpValidationProblemDetails using the specified |
HttpValidationProblemDetails(IEnumerable<KeyValuePair<String,String[]>>) |
Initializes a new instance of HttpValidationProblemDetails using the specified |
HttpValidationProblemDetails()
Initializes a new instance of HttpValidationProblemDetails.
public HttpValidationProblemDetails ();
Public Sub New ()
Applies to
HttpValidationProblemDetails(IDictionary<String,String[]>)
Initializes a new instance of HttpValidationProblemDetails using the specified errors
.
public HttpValidationProblemDetails (System.Collections.Generic.IDictionary<string,string[]> errors);
new Microsoft.AspNetCore.Http.HttpValidationProblemDetails : System.Collections.Generic.IDictionary<string, string[]> -> Microsoft.AspNetCore.Http.HttpValidationProblemDetails
Public Sub New (errors As IDictionary(Of String, String()))
Parameters
- errors
- IDictionary<String,String[]>
The validation errors.
Applies to
HttpValidationProblemDetails(IEnumerable<KeyValuePair<String,String[]>>)
Initializes a new instance of HttpValidationProblemDetails using the specified errors
.
public HttpValidationProblemDetails (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string[]>> errors);
new Microsoft.AspNetCore.Http.HttpValidationProblemDetails : seq<System.Collections.Generic.KeyValuePair<string, string[]>> -> Microsoft.AspNetCore.Http.HttpValidationProblemDetails
Public Sub New (errors As IEnumerable(Of KeyValuePair(Of String, String())))
Parameters
- errors
- IEnumerable<KeyValuePair<String,String[]>>
The validation errors.