Share via


ODataErrorException Class

 

Represents an in-stream error parsed when reading a payload.

Namespace:   Microsoft.OData.Core
Assembly:  Microsoft.OData.Core (in Microsoft.OData.Core.dll)

Inheritance Hierarchy

System.Object
  System.Exception
    System.InvalidOperationException
      Microsoft.OData.Core.ODataException
        Microsoft.OData.Core.ODataErrorException

Syntax

[DebuggerDisplayAttribute("{Message}")]
public sealed class ODataErrorException : ODataException
[DebuggerDisplayAttribute("{Message}")]
public ref class ODataErrorException sealed : ODataException
[<Sealed>]
[<DebuggerDisplayAttribute("{Message}")>]
type ODataErrorException = 
    class
        inherit ODataException
    end
<DebuggerDisplayAttribute("{Message}")>
Public NotInheritable Class ODataErrorException
    Inherits ODataException

Constructors

Name Description
System_CAPS_pubmethod ODataErrorException()

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

System_CAPS_pubmethod ODataErrorException(ODataError)

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

System_CAPS_pubmethod ODataErrorException(String)

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

System_CAPS_pubmethod ODataErrorException(String, Exception)

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

System_CAPS_pubmethod ODataErrorException(String, Exception, ODataError)

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

System_CAPS_pubmethod ODataErrorException(String, ODataError)

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

Properties

Name Description
System_CAPS_pubproperty Data

(Inherited from Exception.)

System_CAPS_pubproperty Error

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

System_CAPS_pubproperty HelpLink

(Inherited from Exception.)

System_CAPS_pubproperty InnerException

(Inherited from Exception.)

System_CAPS_pubproperty Message

(Inherited from Exception.)

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Exception.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.OData.Core Namespace

Return to top