UnprocessableEntityObjectResult 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
UnprocessableEntityObjectResult(ModelStateDictionary) |
Creates a new UnprocessableEntityObjectResult instance. |
UnprocessableEntityObjectResult(Object) |
Creates a new UnprocessableEntityObjectResult instance. |
UnprocessableEntityObjectResult(ModelStateDictionary)
Creates a new UnprocessableEntityObjectResult instance.
public:
UnprocessableEntityObjectResult(Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ modelState);
public UnprocessableEntityObjectResult (Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState);
new Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary -> Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult
Public Sub New (modelState As ModelStateDictionary)
Parameters
- modelState
- ModelStateDictionary
ModelStateDictionary containing the validation errors.
Applies to
UnprocessableEntityObjectResult(Object)
Creates a new UnprocessableEntityObjectResult instance.
public:
UnprocessableEntityObjectResult(System::Object ^ error);
public UnprocessableEntityObjectResult (object error);
public UnprocessableEntityObjectResult (object? error);
new Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult : obj -> Microsoft.AspNetCore.Mvc.UnprocessableEntityObjectResult
Public Sub New (error As Object)
Parameters
- error
- Object
Contains errors to be returned to the client.