event Error (Error as Long, Description as String)
An error occurred.

TypeDescription
Error as Long A long expression that indicates the error's number.
Description as String A string expression that indicates the error's description.

Use the Error event to notify your application that the control fails to fetch the messages. Use the Read event to notify your application that all message were fetched. If the Error event occurs any of the other events are not fired.