Freigeben über


ODataErrorException-Konstruktor (ODataError)

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

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

Syntax

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

Dim instance As New ODataErrorException(error)
public ODataErrorException(
    ODataError error
)
public:
ODataErrorException(
    ODataError^ error
)
new : 
        error:ODataError -> ODataErrorException
public function ODataErrorException(
    error : ODataError
)

Parameter

Hinweise

Die Nachrichteneigenschaft wird mit einer vom System bereitgestellten Nachricht initialisiert, in der der Fehler beschrieben wird. Diese Nachricht berücksichtigt die aktuelle Systemkultur.

Siehe auch

Verweis

ODataErrorException Klasse

ODataErrorException-Überladung

Microsoft.Data.OData-Namespace