Compartir a través de


ConflictObjectResult Constructores

Definición

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.

Se aplica a