다음을 통해 공유


Results.Problem 메서드

정의

오버로드

Problem(ProblemDetails)

응답을 생성합니다 ProblemDetails .

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

응답을 생성합니다 ProblemDetails .

Problem(ProblemDetails)

Source:
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>)

Source:
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 입니다.

적용 대상