ControllerBase.Problem Yöntem

Tanım

Aşırı Yüklemeler

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

ProblemDetails yanıt üreten bir ObjectResult oluşturur.

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

ProblemDetails yanıt üreten bir ObjectResult oluşturur.

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

Kaynak:
ControllerBase.cs

ProblemDetails yanıt üreten bir ObjectResult oluşturur.

[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

Parametreler

detail
String

Detaildeğeri.

instance
String

Instancedeğeri.

statusCode
Nullable<Int32>

Statusdeğeri.

title
String

Titledeğeri.

type
String

Typedeğeri.

Döndürülenler

Yanıt için oluşturulan ObjectResult.

Öznitelikler

Şunlara uygulanır

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

ProblemDetails yanıt üreten bir ObjectResult oluşturur.

[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

Parametreler

detail
String

Detaildeğeri.

instance
String

Instancedeğeri.

statusCode
Nullable<Int32>

Statusdeğeri.

title
String

Titledeğeri.

type
String

Typedeğeri.

extensions
IDictionary<String,Object>

Extensionsdeğeri.

Döndürülenler

Yanıt için oluşturulan ObjectResult.

Öznitelikler

Şunlara uygulanır