BadRequestObjectResult Constructores
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
BadRequestObjectResult(ModelStateDictionary) |
Crea una nueva instancia de BadRequestObjectResult. |
BadRequestObjectResult(Object) |
Crea una nueva instancia de BadRequestObjectResult. |
BadRequestObjectResult(ModelStateDictionary)
- Source:
- BadRequestObjectResult.cs
- Source:
- BadRequestObjectResult.cs
- Source:
- BadRequestObjectResult.cs
Crea una nueva instancia de BadRequestObjectResult.
public:
BadRequestObjectResult(Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ modelState);
public BadRequestObjectResult (Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState);
new Microsoft.AspNetCore.Mvc.BadRequestObjectResult : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary -> Microsoft.AspNetCore.Mvc.BadRequestObjectResult
Public Sub New (modelState As ModelStateDictionary)
Parámetros
- modelState
- ModelStateDictionary
ModelStateDictionary que contiene los errores de validación.
Se aplica a
BadRequestObjectResult(Object)
- Source:
- BadRequestObjectResult.cs
- Source:
- BadRequestObjectResult.cs
- Source:
- BadRequestObjectResult.cs
Crea una nueva instancia de BadRequestObjectResult.
public:
BadRequestObjectResult(System::Object ^ error);
public BadRequestObjectResult (object error);
public BadRequestObjectResult (object? error);
new Microsoft.AspNetCore.Mvc.BadRequestObjectResult : obj -> Microsoft.AspNetCore.Mvc.BadRequestObjectResult
Public Sub New (error As Object)
Parámetros
- error
- Object
Contiene los errores que se van a devolver al cliente.