Compartilhar via


Results.Problem Método

Definição

Sobrecargas

Problem(ProblemDetails)

Produz uma ProblemDetails resposta.

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

Produz uma ProblemDetails resposta.

Problem(ProblemDetails)

Origem:
Results.cs

Produz uma ProblemDetails resposta.

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

Parâmetros

problemDetails
ProblemDetails

O ProblemDetails objeto do qual produzir uma resposta.

Retornos

O criado IResult para a resposta.

Aplica-se a

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

Origem:
Results.cs

Produz uma ProblemDetails resposta.

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

Parâmetros

detail
String

O valor de Detail.

instance
String

O valor de Instance.

statusCode
Nullable<Int32>

O valor de Status.

title
String

O valor de Title.

type
String

O valor de Type.

extensions
IDictionary<String,Object>

O valor de Extensions.

Retornos

O criado IResult para a resposta.

Aplica-se a