Delen via


ODataErrorException Class

Definition

Exception type representing an in-stream error parsed when reading a payload.

public sealed class ODataErrorException : Microsoft.OData.ODataException
type ODataErrorException = class
    inherit ODataException
Public NotInheritable Class ODataErrorException
Inherits ODataException
Inheritance

Constructors

ODataErrorException()

Creates a new instance of the ODataErrorException class with default values.

ODataErrorException(ODataError)

Creates a new instance of the ODataErrorException class with an ODataError object.

ODataErrorException(String)

Creates a new instance of the ODataErrorException class with an error message.

ODataErrorException(String, Exception)

Creates a new instance of the ODataErrorException class with an error message and an inner exception.

ODataErrorException(String, Exception, ODataError)

Creates a new instance of the ODataErrorException class with an error message, an inner exception, and an ODataError object.

ODataErrorException(String, ODataError)

Creates a new instance of the ODataErrorException class with an error message and an ODataError object.

Properties

Error

Gets the ODataError instance representing the error read from the payload.

Applies to