ODataContentTypeException Constructor (String, Exception)

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, _
    innerException As Exception _
)
'Usage
Dim message As String 
Dim innerException As Exception 

Dim instance As New ODataContentTypeException(message, _
    innerException)
public ODataContentTypeException(
    string message,
    Exception innerException
)
public:
ODataContentTypeException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> ODataContentTypeException
public function ODataContentTypeException(
    message : String, 
    innerException : Exception
)

Parameters

  • message
    Type: System.String
    Plain text error message for this exception.
  • innerException
    Type: System.Exception
    Exception that caused this exception to be thrown.

See Also

Reference

ODataContentTypeException Class

ODataContentTypeException Overload

Microsoft.Data.OData Namespace