ConflictObjectResult Конструкторы

Определение

Перегрузки

ConflictObjectResult(ModelStateDictionary)

Создает новый экземпляр ConflictObjectResult.

ConflictObjectResult(Object)

Создает новый экземпляр ConflictObjectResult.

ConflictObjectResult(ModelStateDictionary)

Исходный код:
ConflictObjectResult.cs
Исходный код:
ConflictObjectResult.cs
Исходный код:
ConflictObjectResult.cs

Создает новый экземпляр 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)

Параметры

modelState
ModelStateDictionary

ModelStateDictionary содержит ошибки проверки.

Применяется к

ConflictObjectResult(Object)

Исходный код:
ConflictObjectResult.cs
Исходный код:
ConflictObjectResult.cs
Исходный код:
ConflictObjectResult.cs

Создает новый экземпляр 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)

Параметры

error
Object

Содержит ошибки, возвращаемые клиенту.

Применяется к