Results.Problem Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
Problem(ProblemDetails) |
Génère une ProblemDetails réponse. |
Problem(String, String, Nullable<Int32>, String, String, IDictionary<String,Object>) |
Génère une ProblemDetails réponse. |
Problem(ProblemDetails)
- Source:
- Results.cs
Génère une ProblemDetails réponse.
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
Paramètres
- problemDetails
- ProblemDetails
Objet ProblemDetails à partir duquel produire une réponse.
Retours
créé IResult pour la réponse.
S’applique à
Problem(String, String, Nullable<Int32>, String, String, IDictionary<String,Object>)
- Source:
- Results.cs
Génère une ProblemDetails réponse.
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
Paramètres
- extensions
- IDictionary<String,Object>
Valeur de Extensions.
Retours
créé IResult pour la réponse.