ODataErrorException Class
Represents an in-stream error parsed when reading a payload.
Inheritance Hierarchy
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
Microsoft.Data.OData.ODataException
Microsoft.Data.OData.ODataErrorException
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
<SerializableAttribute> _
<DebuggerDisplayAttribute("{Message}")> _
Public NotInheritable Class ODataErrorException _
Inherits ODataException
'Usage
Dim instance As ODataErrorException
[SerializableAttribute]
[DebuggerDisplayAttribute("{Message}")]
public sealed class ODataErrorException : ODataException
[SerializableAttribute]
[DebuggerDisplayAttribute(L"{Message}")]
public ref class ODataErrorException sealed : public ODataException
[<SealedAttribute>]
[<SerializableAttribute>]
[<DebuggerDisplayAttribute("{Message}")>]
type ODataErrorException =
class
inherit ODataException
end
public final class ODataErrorException extends ODataException
The ODataErrorException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ODataErrorException() | Creates a new instance of the ODataErrorException class with default values. | |
ODataErrorException(String) | Creates a new instance of the ODataErrorException class with an error message. | |
ODataErrorException(ODataError) | Creates a new instance of the ODataErrorException class with an ODataError object. | |
ODataErrorException(String, ODataError) | Creates a new instance of the ODataErrorException class with an error message and an ODataError object. | |
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. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
Error | Gets or sets the ODataError instance representing the error read from the payload. | |
HelpLink | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
Message | (Inherited from Exception.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Security Critical. (Inherited from Exception.) | |
GetType | (Inherited from Exception.) | |
ToString | (Inherited from Exception.) |
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.