ConflictObjectResult Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for