다음을 통해 공유


TypedResults.Problem 메서드

정의

오버로드

Problem(ProblemDetails)

ProblemDetails 응답을 생성합니다.

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

ProblemDetails 응답을 생성합니다.

Problem(String, String, Nullable<Int32>, String, String, IEnumerable<KeyValuePair<String,Object>>)

ProblemDetails 응답을 생성합니다.

Problem(ProblemDetails)

Source:
TypedResults.cs

ProblemDetails 응답을 생성합니다.

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

매개 변수

problemDetails
ProblemDetails

응답을 생성할 ProblemDetails 개체입니다.

반환

응답에 대해 만든 ProblemHttpResult.

적용 대상

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

Source:
TypedResults.cs

ProblemDetails 응답을 생성합니다.

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

매개 변수

detail
String

Detail값입니다.

instance
String

Instance값입니다.

statusCode
Nullable<Int32>

Status값입니다.

title
String

Title값입니다.

type
String

Type값입니다.

extensions
IDictionary<String,Object>

Extensions값입니다.

반환

응답에 대해 만든 ProblemHttpResult.

적용 대상

Problem(String, String, Nullable<Int32>, String, String, IEnumerable<KeyValuePair<String,Object>>)

ProblemDetails 응답을 생성합니다.

public static Microsoft.AspNetCore.Http.HttpResults.ProblemHttpResult Problem (string? detail = default, string? instance = default, int? statusCode = default, string? title = default, string? type = default, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object?>>? extensions = default);
static member Problem : string * string * Nullable<int> * string * string * seq<System.Collections.Generic.KeyValuePair<string, obj>> -> Microsoft.AspNetCore.Http.HttpResults.ProblemHttpResult
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 IEnumerable(Of KeyValuePair(Of String, Object)) = Nothing) As ProblemHttpResult

매개 변수

detail
String

Detail값입니다.

instance
String

Instance값입니다.

statusCode
Nullable<Int32>

Status값입니다.

title
String

Title값입니다.

type
String

Type값입니다.

extensions
IEnumerable<KeyValuePair<String,Object>>

Extensions값입니다.

반환

응답에 대해 만든 ProblemHttpResult.

적용 대상