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 | |
---|---|---|
ODataError | Creates a new instance of the ODataError class. |
Top
Properties
Name | Description | |
---|---|---|
ErrorCode | Gets or sets the error code to be used in payloads. | |
InnerError | Gets or sets the implementation specific debugging information to help determine the cause of the error. | |
Message | Gets or sets the error message. | |
MessageLanguage | Gets or sets the language for the exception Message. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
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.