ConflictObjectResult Constructors

Definition

Overloads

ConflictObjectResult(ModelStateDictionary)

Creates a new ConflictObjectResult instance.

ConflictObjectResult(Object)

Creates a new ConflictObjectResult instance.

ConflictObjectResult(ModelStateDictionary)

Source:
ConflictObjectResult.cs
Source:
ConflictObjectResult.cs
Source:
ConflictObjectResult.cs

Creates a new ConflictObjectResult instance.

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)

Parameters

modelState
ModelStateDictionary

ModelStateDictionary containing the validation errors.

Applies to

ConflictObjectResult(Object)

Source:
ConflictObjectResult.cs
Source:
ConflictObjectResult.cs
Source:
ConflictObjectResult.cs

Creates a new ConflictObjectResult instance.

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)

Parameters

error
Object

Contains the errors to be returned to the client.

Applies to