Freigeben über


ODataContentTypeException-Konstruktor (String, Exception)

Erstellt eine neue Instanz der ODataContentTypeException-Klasse.

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
)

Parameter

  • message
    Typ: System.String
    Nur-Text-Fehlermeldung für diese Ausnahme.
  • innerException
    Typ: System.Exception
    Ausnahme, die das Auslösen der Ausnahme verursacht hat.

Siehe auch

Verweis

ODataContentTypeException Klasse

ODataContentTypeException-Überladung

Microsoft.Data.OData-Namespace