HttpValidationProblemDetails 构造函数

定义

重载

HttpValidationProblemDetails()

初始化 HttpValidationProblemDetails 的新实例。

HttpValidationProblemDetails(IDictionary<String,String[]>)

使用指定的 errors初始化 的新实例HttpValidationProblemDetails

HttpValidationProblemDetails()

Source:
HttpValidationProblemDetails.cs

初始化 HttpValidationProblemDetails 的新实例。

public HttpValidationProblemDetails ();
Public Sub New ()

适用于

HttpValidationProblemDetails(IDictionary<String,String[]>)

Source:
HttpValidationProblemDetails.cs

使用指定的 errors初始化 的新实例HttpValidationProblemDetails

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()))

参数

errors
IDictionary<String,String[]>

验证错误。

适用于