Adds a message to the AppError object with the values from the ErrorMessage and MessageNumber arguments to the end of the message list. Your application provides the message number and text. Access error messages and message numbers with the GetMessage( ) and GetMessageNum( ) methods. This method increments the NumMessages property on the AppError by 1.