Results.Problem Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
Problem(ProblemDetails) |
ProblemDetails Menghasilkan respons. |
Problem(String, String, Nullable<Int32>, String, String, IDictionary<String,Object>) |
ProblemDetails Menghasilkan respons. |
Problem(ProblemDetails)
- Sumber:
- Results.cs
ProblemDetails Menghasilkan respons.
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
Parameter
- problemDetails
- ProblemDetails
Objek ProblemDetails untuk menghasilkan respons.
Mengembalikan
yang dibuat IResult untuk respons.
Berlaku untuk
Problem(String, String, Nullable<Int32>, String, String, IDictionary<String,Object>)
- Sumber:
- Results.cs
ProblemDetails Menghasilkan respons.
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
Parameter
- extensions
- IDictionary<String,Object>
Nilai untuk Extensions.
Mengembalikan
yang dibuat IResult untuk respons.