ODataController.BadRequest Method
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
BadRequest(ODataError) | |
BadRequest(String) |
BadRequest(ODataError)
protected virtual Microsoft.AspNet.OData.Results.BadRequestODataResult BadRequest (Microsoft.OData.ODataError odataError);
override this.BadRequest : Microsoft.OData.ODataError -> Microsoft.AspNet.OData.Results.BadRequestODataResult
Protected Overridable Function BadRequest (odataError As ODataError) As BadRequestODataResult
Parameters
- odataError
- ODataError
Returns
Applies to
BadRequest(String)
protected virtual Microsoft.AspNet.OData.Results.BadRequestODataResult BadRequest (string message);
override this.BadRequest : string -> Microsoft.AspNet.OData.Results.BadRequestODataResult
Protected Overridable Function BadRequest (message As String) As BadRequestODataResult
Parameters
- message
- String