Partilhar via


ODataException Constructor

Include Protected Members
Include Inherited Members

Creates a new instance of the ODataException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method ODataException() Creates a new instance of the ODataException class with default values.
Public method ODataException(String) Creates a new instance of the ODataException class with an error message.
Protected method ODataException(SerializationInfo, StreamingContext) Creates a new instance of the ODataException class from the specified SerializationInfo and StreamingContext instances.
Public method ODataException(String, Exception) Creates a new instance of the ODataException class with an error message and an inner exception.

Top

See Also

Reference

ODataException Class

Microsoft.Data.OData Namespace