[Description] Occurs when a thread is about to shut down. When the main thread for an application is about to be shut down, this event is raised first, followed by an ApplicationExit event. [Name] 
ThreadExit
A p p l i c a t i o n E x i t
E n t e r T h r e a d M o d a l
I d l e
L e a v e T h r e a d M o d a l
T h r e a d E x c e p t i o n
T h r e a d E x i t