TypedResults.Problem 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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
매개 변수
- 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
매개 변수
- extensions
- IEnumerable<KeyValuePair<String,Object>>
Extensions값입니다.
반환
응답에 대해 만든 ProblemHttpResult.