Web API Core | ComponentOne
C1.Web.Api.DataEngine Namespace / DataEngineController Class / BadRequest Method / BadRequest(ModelStateDictionary) Method

In This Topic
    BadRequest(ModelStateDictionary) Method
    In This Topic
    Creates an Microsoft.AspNetCore.Mvc.BadRequestObjectResult that produces a Bad Request (400) response.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function BadRequest( _
       ByVal modelState As ModelStateDictionary _
    ) As BadRequestObjectResult

    Parameters

    modelState

    Return Value

    The created Microsoft.AspNetCore.Mvc.BadRequestObjectResult for the response.
    See Also