Jaa


ODataException Constructors

Definition

Overloads

ODataException()

Creates a new instance of the ODataException class with default values.

ODataException(String)

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

ODataException(String, Exception)

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

ODataException()

Creates a new instance of the ODataException class with default values.

public ODataException ();
Public Sub New ()

Remarks

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

Applies to

ODataException(String)

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

public ODataException (string message);
new Microsoft.OData.ODataException : string -> Microsoft.OData.ODataException
Public Sub New (message As String)

Parameters

message
String

The plain text error message for this exception.

Applies to

ODataException(String, Exception)

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

public ODataException (string message, Exception innerException);
new Microsoft.OData.ODataException : string * Exception -> Microsoft.OData.ODataException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The plain text error message for this exception.

innerException
Exception

The inner exception that is the cause of this exception to be thrown.

Applies to