次の方法で共有


Results.Problem メソッド

定義

オーバーロード

Problem(ProblemDetails)

応答を ProblemDetails 生成します。

Problem(String, String, Nullable<Int32>, String, String, IDictionary<String,Object>)

応答を ProblemDetails 生成します。

Problem(ProblemDetails)

ソース:
Results.cs

応答を ProblemDetails 生成します。

public static Microsoft.AspNetCore.Http.IResult Problem (Microsoft.AspNetCore.Mvc.ProblemDetails problemDetails);
static member Problem : Microsoft.AspNetCore.Mvc.ProblemDetails -> Microsoft.AspNetCore.Http.IResult
Public Shared Function Problem (problemDetails As ProblemDetails) As IResult

パラメーター

problemDetails
ProblemDetails

ProblemDetails応答を生成するオブジェクト。

戻り値

応答用に作成された IResult

適用対象

Problem(String, String, Nullable<Int32>, String, String, IDictionary<String,Object>)

ソース:
Results.cs

応答を ProblemDetails 生成します。

public static Microsoft.AspNetCore.Http.IResult Problem (string? detail = default, string? instance = default, int? statusCode = default, string? title = default, string? type = default, System.Collections.Generic.IDictionary<string,object?>? extensions = default);
static member Problem : string * string * Nullable<int> * string * string * System.Collections.Generic.IDictionary<string, obj> -> Microsoft.AspNetCore.Http.IResult
Public Shared Function Problem (Optional detail As String = Nothing, Optional instance As String = Nothing, Optional statusCode As Nullable(Of Integer) = Nothing, Optional title As String = Nothing, Optional type As String = Nothing, Optional extensions As IDictionary(Of String, Object) = Nothing) As IResult

パラメーター

detail
String

Detail値。

instance
String

Instance値。

statusCode
Nullable<Int32>

Status値。

title
String

Title値。

type
String

Type値。

extensions
IDictionary<String,Object>

Extensions値。

戻り値

応答用に作成された IResult

適用対象