共用方式為


HttpValidationProblemDetails 建構函式

定義

多載

HttpValidationProblemDetails()

初始化 HttpValidationProblemDetails 的新執行個體。

HttpValidationProblemDetails(IDictionary<String,String[]>)

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

HttpValidationProblemDetails()

來源:
HttpValidationProblemDetails.cs

初始化 HttpValidationProblemDetails 的新執行個體。

public HttpValidationProblemDetails ();
Public Sub New ()

適用於

HttpValidationProblemDetails(IDictionary<String,String[]>)

來源:
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[]>

驗證錯誤。

適用於