Partager via


Results.Problem Méthode

Définition

Surcharges

Problem(ProblemDetails)

Produit une réponse ProblemDetails.

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

Produit une réponse ProblemDetails.

Problem(String, String, Nullable<Int32>, String, String, IEnumerable<KeyValuePair<String,Object>>)

Produit une réponse ProblemDetails.

Problem(ProblemDetails)

Source:
Results.cs

Produit une réponse 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

Paramètres

problemDetails
ProblemDetails

Objet ProblemDetails à partir duquel générer une réponse.

Retours

La IResult créée pour la réponse.

S’applique à

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

Source:
Results.cs

Produit une réponse 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);
public static Microsoft.AspNetCore.Http.IResult Problem (string? detail, string? instance, int? statusCode, string? title, string? type, System.Collections.Generic.IDictionary<string,object?>? extensions);
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
Public Shared Function Problem (detail As String, instance As String, statusCode As Nullable(Of Integer), title As String, type As String, extensions As IDictionary(Of String, Object)) As IResult

Paramètres

detail
String

Valeur de Detail.

instance
String

Valeur de Instance.

statusCode
Nullable<Int32>

Valeur de Status.

title
String

Valeur de Title.

type
String

Valeur de Type.

extensions
IDictionary<String,Object>

Valeur de Extensions.

Retours

La IResult créée pour la réponse.

S’applique à

Problem(String, String, Nullable<Int32>, String, String, IEnumerable<KeyValuePair<String,Object>>)

Produit une réponse 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.IEnumerable<System.Collections.Generic.KeyValuePair<string,object?>>? extensions = default);
static member Problem : string * string * Nullable<int> * string * string * seq<System.Collections.Generic.KeyValuePair<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 IEnumerable(Of KeyValuePair(Of String, Object)) = Nothing) As IResult

Paramètres

detail
String

Valeur de Detail.

instance
String

Valeur de Instance.

statusCode
Nullable<Int32>

Valeur de Status.

title
String

Valeur de Title.

type
String

Valeur de Type.

extensions
IEnumerable<KeyValuePair<String,Object>>

Valeur de Extensions.

Retours

La IResult créée pour la réponse.

S’applique à