ODataError Class

Represents an error payload.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataError

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class ODataError
'Usage
Dim instance As ODataError
[SerializableAttribute]
public sealed class ODataError
[SerializableAttribute]
public ref class ODataError sealed
[<SealedAttribute>]
[<SerializableAttribute>]
type ODataError =  class end
public final class ODataError

The ODataError type exposes the following members.

Constructors

  Name Description
Public method ODataError Creates a new instance of the ODataError class.

Top

Properties

  Name Description
Public property ErrorCode Gets or sets the error code to be used in payloads.
Public property InnerError Gets or sets the implementation specific debugging information to help determine the cause of the error.
Public property Message Gets or sets the error message.
Public property MessageLanguage Gets or sets the language for the exception Message.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

Microsoft.Data.OData Namespace