FormatException: Message (get)

Message

Gets the error message associated with the Subclass exception.



 Public Property Get Message ( ) As String

Return Values

String -  A custom message set by the Subclass, or a default message of "An Error has occurred."

Remarks

Generally this property is set to a meaningful message that is related to the exception that is being thrown. The message should be human readable.

This property can be set in the constructor NewArgumentException.

Read Only.

See Also

Project CorLib Overview

Class FormatException Overview