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