Share via


ODataController.ODataErrorResult Method

Definition

Overloads

ODataErrorResult(ODataError)
ODataErrorResult(String, String)

ODataErrorResult(ODataError)

protected virtual Microsoft.AspNet.OData.Results.ODataErrorResult ODataErrorResult (Microsoft.OData.ODataError odataError);
abstract member ODataErrorResult : Microsoft.OData.ODataError -> Microsoft.AspNet.OData.Results.ODataErrorResult
override this.ODataErrorResult : Microsoft.OData.ODataError -> Microsoft.AspNet.OData.Results.ODataErrorResult
Protected Overridable Function ODataErrorResult (odataError As ODataError) As ODataErrorResult

Parameters

odataError
ODataError

Returns

Applies to

ODataErrorResult(String, String)

protected virtual Microsoft.AspNet.OData.Results.ODataErrorResult ODataErrorResult (string errorCode, string message);
abstract member ODataErrorResult : string * string -> Microsoft.AspNet.OData.Results.ODataErrorResult
override this.ODataErrorResult : string * string -> Microsoft.AspNet.OData.Results.ODataErrorResult
Protected Overridable Function ODataErrorResult (errorCode As String, message As String) As ODataErrorResult

Parameters

errorCode
String
message
String

Returns

Applies to