GetErrorMessage method

Gets the error message.

 Visual Basic syntax
 C# syntax
 Returns