Share via


HttpValidationProblemDetails Constructors

Definition

Overloads

HttpValidationProblemDetails()

Initializes a new instance of HttpValidationProblemDetails.

HttpValidationProblemDetails(IDictionary<String,String[]>)

Initializes a new instance of HttpValidationProblemDetails using the specified errors.

HttpValidationProblemDetails(IEnumerable<KeyValuePair<String,String[]>>)

Initializes a new instance of HttpValidationProblemDetails using the specified errors.

HttpValidationProblemDetails()

Source:
HttpValidationProblemDetails.cs

Initializes a new instance of HttpValidationProblemDetails.

public HttpValidationProblemDetails ();
Public Sub New ()

Applies to

HttpValidationProblemDetails(IDictionary<String,String[]>)

Source:
HttpValidationProblemDetails.cs

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.

Applies to