Compartir a través de


BadRequestObjectResult Constructores

Definición

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.

Se aplica a