Share via


UriLiteralParsingException Constructors

Definition

Overloads

UriLiteralParsingException()

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

UriLiteralParsingException(String)

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

UriLiteralParsingException(String, Exception)

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

UriLiteralParsingException()

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

public UriLiteralParsingException ();
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

UriLiteralParsingException(String)

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

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

Parameters

message
String

The plain text error message for this exception.

Applies to

UriLiteralParsingException(String, Exception)

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

public UriLiteralParsingException (string message, Exception innerException);
new Microsoft.OData.UriParser.UriLiteralParsingException : string * Exception -> Microsoft.OData.UriParser.UriLiteralParsingException
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