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 | |
---|---|---|
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
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) |
|
Error | Gets the ODataError instance representing the error read from the payload. |
|
HelpLink | (Inherited from Exception.) |
|
InnerException | (Inherited from Exception.) |
|
Message | (Inherited from Exception.) |
|
Source | (Inherited from Exception.) |
|
StackTrace | (Inherited from Exception.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetBaseException() | (Inherited from Exception.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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