Application Events
.NET Framework 4.5
The Application type exposes the following members.
| Name | Description | |
|---|---|---|
|
ApplicationExit | Occurs when the application is about to shut down. |
|
EnterThreadModal | Occurs when the application is about to enter a modal state. |
|
Idle | Occurs when the application finishes processing and is about to enter the idle state. |
|
LeaveThreadModal | Occurs when the application is about to leave a modal state. |
|
ThreadException | Occurs when an untrapped thread exception is thrown. |
|
ThreadExit | 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. |