Results.Problem Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
Problem(ProblemDetails) |
Genera una ProblemDetails respuesta. |
Problem(String, String, Nullable<Int32>, String, String, IDictionary<String,Object>) |
Genera una ProblemDetails respuesta. |
Problem(ProblemDetails)
- Source:
- Results.cs
Genera una ProblemDetails respuesta.
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
Objeto ProblemDetails del que se va a generar una respuesta.
Devoluciones
creado IResult para la respuesta.
Se aplica a
Problem(String, String, Nullable<Int32>, String, String, IDictionary<String,Object>)
- Source:
- Results.cs
Genera una ProblemDetails respuesta.
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
- extensions
- IDictionary<String,Object>
Valor de Extensions.
Devoluciones
creado IResult para la respuesta.