Partilhar via


ODataException Constructor (String)

Creates a new instance of the ODataException class with an error message.

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
)

Parameters

  • message
    Type: System.String
    The plain text error message for this exception.

See Also

Reference

ODataException Class

ODataException Overload

Microsoft.Data.OData Namespace