Partilhar via


ODataErrorException Constructor (ODataError)

Creates a new instance of the ODataErrorException class with an ODataError object.

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
)

Parameters

Remarks

The Message property is initialized to a system-supplied message that describes the error. This message takes into account the current system culture.

See Also

Reference

ODataErrorException Class

ODataErrorException Overload

Microsoft.Data.OData Namespace