HttpErrorExtensions.CreateODataError(HttpError) 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.
Converts the httpError
to an ODataError.
public static Microsoft.OData.ODataError CreateODataError (this System.Web.Http.HttpError httpError);
static member CreateODataError : System.Web.Http.HttpError -> Microsoft.OData.ODataError
<Extension()>
Public Function CreateODataError (httpError As HttpError) As ODataError
Parameters
Returns
The converted ODataError