ODataContentTypeException Class
Exception type representing exception when Content-Type of a message is not supported.
Inheritance Hierarchy
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
Microsoft.Data.OData.ODataException
Microsoft.Data.OData.ODataContentTypeException
Namespace: Microsoft.Data.OData
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class ODataContentTypeException _
Inherits ODataException
'Usage
Dim instance As ODataContentTypeException
[SerializableAttribute]
public class ODataContentTypeException : ODataException
[SerializableAttribute]
public ref class ODataContentTypeException : public ODataException
[<SerializableAttribute>]
type ODataContentTypeException =
class
inherit ODataException
end
public class ODataContentTypeException extends ODataException
The ODataContentTypeException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ODataContentTypeException() | Creates a new instance of the ODataContentTypeException class. | |
ODataContentTypeException(String) | Creates a new instance of the ODataContentTypeException class. | |
ODataContentTypeException(SerializationInfo, StreamingContext) | Creates a new instance of the ODataContentTypeException class from the specified SerializationInfo and StreamingContext instances. | |
ODataContentTypeException(String, Exception) | Creates a new instance of the ODataContentTypeException class. |
Top
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.) | |
TargetSite | (Inherited from Exception.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Security Critical. (Inherited from Exception.) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Exception.) |
Top
Events
Name | Description | |
---|---|---|
SerializeObjectState | (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.