다음을 통해 공유


ControllerBase.Problem 메서드

정의

오버로드

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

ProblemDetails 응답을 생성하는 ObjectResult 만듭니다.

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

ProblemDetails 응답을 생성하는 ObjectResult 만듭니다.

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

Source:
ControllerBase.cs

ProblemDetails 응답을 생성하는 ObjectResult 만듭니다.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.ObjectResult Problem (string detail = default, string instance = default, int? statusCode = default, string title = default, string type = default);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.ObjectResult Problem (string? detail = default, string? instance = default, int? statusCode = default, string? title = default, string? type = default);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.ObjectResult Problem (string? detail, string? instance, int? statusCode, string? title, string? type);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member Problem : string * string * Nullable<int> * string * string -> Microsoft.AspNetCore.Mvc.ObjectResult
override this.Problem : string * string * Nullable<int> * string * string -> Microsoft.AspNetCore.Mvc.ObjectResult
Public Overridable 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) As ObjectResult
Public Overridable Function Problem (detail As String, instance As String, statusCode As Nullable(Of Integer), title As String, type As String) As ObjectResult

매개 변수

detail
String

Detail값입니다.

instance
String

Instance값입니다.

statusCode
Nullable<Int32>

Status값입니다.

title
String

Title값입니다.

type
String

Type값입니다.

반환

응답에 대해 만든 ObjectResult.

특성

적용 대상

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

ProblemDetails 응답을 생성하는 ObjectResult 만듭니다.

[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.ObjectResult Problem (string? detail = default, string? instance = default, int? statusCode = default, string? title = default, string? type = default, System.Collections.Generic.IDictionary<string,object?>? extensions = default);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member Problem : string * string * Nullable<int> * string * string * System.Collections.Generic.IDictionary<string, obj> -> Microsoft.AspNetCore.Mvc.ObjectResult
override this.Problem : string * string * Nullable<int> * string * string * System.Collections.Generic.IDictionary<string, obj> -> Microsoft.AspNetCore.Mvc.ObjectResult
Public Overridable 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 ObjectResult

매개 변수

detail
String

Detail값입니다.

instance
String

Instance값입니다.

statusCode
Nullable<Int32>

Status값입니다.

title
String

Title값입니다.

type
String

Type값입니다.

extensions
IDictionary<String,Object>

Extensions값입니다.

반환

응답에 대해 만든 ObjectResult.

특성

적용 대상