Freigeben über


ODataErrorException-Konstruktor (String, ODataError)

Erstellt eine neue Instanz der ODataErrorException-Klasse mit einer Fehlermeldung und einem ODataError-Objekt.

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

Syntax

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

Dim instance As New ODataErrorException(message, _
    error)
public ODataErrorException(
    string message,
    ODataError error
)
public:
ODataErrorException(
    String^ message, 
    ODataError^ error
)
new : 
        message:string * 
        error:ODataError -> ODataErrorException
public function ODataErrorException(
    message : String, 
    error : ODataError
)

Parameter

  • message
    Typ: System.String
    Die Nur-Text-Fehlermeldung für diese Ausnahme.

Siehe auch

Verweis

ODataErrorException Klasse

ODataErrorException-Überladung

Microsoft.Data.OData-Namespace