Share via


ODataController.BadRequest Method

Definition

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

Returns

Applies to