Freigeben über


ODataException-Konstruktor (String, Exception)

Erstellt eine neue Instanz der ODataException-Klasse mit einer Fehlermeldung und einer internen Ausnahme.

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 ODataException(message, _
    innerException)
public ODataException(
    string message,
    Exception innerException
)
public:
ODataException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> ODataException
public function ODataException(
    message : String, 
    innerException : Exception
)

Parameter

  • message
    Typ: System.String
    Die Nur-Text-Fehlermeldung für diese Ausnahme.
  • innerException
    Typ: System.Exception
    Die interne Ausnahme, die diese ausgelöste Ausnahme verursacht hat.

Siehe auch

Verweis

ODataException Klasse

ODataException-Überladung

Microsoft.Data.OData-Namespace