Share via


ODataContentTypeException Class

 

Represents an exception when Content-Type of a message is not supported.

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

Syntax

[DebuggerDisplayAttribute("{Message}")]
public class ODataContentTypeException : ODataException
[DebuggerDisplayAttribute("{Message}")]
public ref class ODataContentTypeException : ODataException
[<DebuggerDisplayAttribute("{Message}")>]
type ODataContentTypeException = 
    class
        inherit ODataException
    end
<DebuggerDisplayAttribute("{Message}")>
Public Class ODataContentTypeException
    Inherits ODataException

Constructors

Name Description
System_CAPS_pubmethod ODataContentTypeException()

Creates a new instance of the ODataContentTypeException class.

System_CAPS_pubmethod ODataContentTypeException(String)

Creates a new instance of the ODataContentTypeException class.

System_CAPS_pubmethod ODataContentTypeException(String, Exception)

Creates a new instance of the ODataContentTypeException class.

Properties

Name Description
System_CAPS_pubproperty Data

(Inherited from Exception.)

System_CAPS_pubproperty HelpLink

(Inherited from Exception.)

System_CAPS_protproperty HResult

(Inherited from Exception.)

System_CAPS_pubproperty InnerException

(Inherited from Exception.)

System_CAPS_pubproperty Message

(Inherited from Exception.)

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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