Condividi tramite


Results.Problem Metodo

Definizione

Overload

Problem(ProblemDetails)

Produce una ProblemDetails risposta.

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

Produce una ProblemDetails risposta.

Problem(ProblemDetails)

Origine:
Results.cs

Produce una ProblemDetails risposta.

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

Parametri

problemDetails
ProblemDetails

Oggetto ProblemDetails da cui generare una risposta.

Restituisce

Oggetto creato IResult per la risposta.

Si applica a

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

Origine:
Results.cs

Produce una ProblemDetails risposta.

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

Parametri

detail
String

Valore per Detail.

instance
String

Valore per Instance.

statusCode
Nullable<Int32>

Valore per Status.

title
String

Valore per Title.

type
String

Valore per Type.

extensions
IDictionary<String,Object>

Valore per Extensions.

Restituisce

Oggetto creato IResult per la risposta.

Si applica a