ODataController.ODataErrorResult 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
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