ODataContentTypeException Constructor (String)

Creates a new instance of the ODataContentTypeException class.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String 

Dim instance As New ODataContentTypeException(message)
public ODataContentTypeException(
    string message
)
public:
ODataContentTypeException(
    String^ message
)
new : 
        message:string -> ODataContentTypeException
public function ODataContentTypeException(
    message : String
)

Parameters

  • message
    Type: System.String
    Plain text error message for this exception.

See Also

Reference

ODataContentTypeException Class

ODataContentTypeException Overload

Microsoft.Data.OData Namespace