Results.Problem Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
Problem(ProblemDetails) |
Yanıt oluşturur ProblemDetails . |
Problem(String, String, Nullable<Int32>, String, String, IDictionary<String,Object>) |
Yanıt oluşturur ProblemDetails . |
Problem(ProblemDetails)
- Kaynak:
- Results.cs
Yanıt oluşturur 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
Parametreler
- problemDetails
- ProblemDetails
Yanıtın ProblemDetails üretildiği nesne.
Döndürülenler
Yanıt için oluşturulan IResult .
Şunlara uygulanır
Problem(String, String, Nullable<Int32>, String, String, IDictionary<String,Object>)
- Kaynak:
- Results.cs
Yanıt oluşturur 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
Parametreler
- extensions
- IDictionary<String,Object>
için Extensionsdeğeri.
Döndürülenler
Yanıt için oluşturulan IResult .