ODataException Class
Represents the exceptions occured in the OData library.
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.ODataContentTypeException
Microsoft.OData.Core.ODataErrorException
Microsoft.OData.Core.UriParser.ODataUnrecognizedPathException
Syntax
[DebuggerDisplayAttribute("{Message}")]
public class ODataException : InvalidOperationException
[DebuggerDisplayAttribute("{Message}")]
public ref class ODataException : InvalidOperationException
[<DebuggerDisplayAttribute("{Message}")>]
type ODataException =
class
inherit InvalidOperationException
end
<DebuggerDisplayAttribute("{Message}")>
Public Class ODataException
Inherits InvalidOperationException
Constructors
Name | Description | |
---|---|---|
ODataException() | Creates a new instance of the ODataException class with default values. |
|
ODataException(String) | Creates a new instance of the ODataException class with an error message. |
|
ODataException(String, Exception) | Creates a new instance of the ODataException class with an error message and an inner exception. |
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) |
|
HelpLink | (Inherited from Exception.) |
|
HResult | (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.) |
|
Finalize() | (Inherited from Object.) |
|
GetBaseException() | (Inherited from Exception.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (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