Freigeben über


ODataException-Konstruktor (String)

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

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

Syntax

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

Dim instance As New ODataException(message)
public ODataException(
    string message
)
public:
ODataException(
    String^ message
)
new : 
        message:string -> ODataException
public function ODataException(
    message : String
)

Parameter

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

Siehe auch

Verweis

ODataException Klasse

ODataException-Überladung

Microsoft.Data.OData-Namespace