TypedResults.Problem Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
Problem(ProblemDetails) |
Genera una ProblemDetails risposta. |
Problem(String, String, Nullable<Int32>, String, String, IDictionary<String,Object>) |
Genera una ProblemDetails risposta. |
Problem(ProblemDetails)
- Origine:
- TypedResults.cs
Genera una ProblemDetails risposta.
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
Parametri
- problemDetails
- ProblemDetails
Oggetto ProblemDetails da cui produrre una risposta.
Restituisce
Oggetto creato ProblemHttpResult per la risposta.
Si applica a
Problem(String, String, Nullable<Int32>, String, String, IDictionary<String,Object>)
- Origine:
- TypedResults.cs
Genera una ProblemDetails risposta.
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);
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
Parametri
- extensions
- IDictionary<String,Object>
Valore per Extensions.
Restituisce
Oggetto creato ProblemHttpResult per la risposta.