Retrieves the message text.
[Visual Basic] Overridable Public ReadOnly Property Message As String [C#] public string Message {virtual get;} [C++] public: __property virtual String* get_Message(); [JScript] public function get Message() : String;
Read-only.
Every exception carries a message that provides information about the exception, such as why it was thrown. This property retrieves the message text. If the message is null, then the an empty string is returned (see Empty).