Application::Exit Method
.NET Framework (current version)
Informs all message pumps that they must terminate, and then closes all application windows after the messages have been processed.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Exit() | Informs all message pumps that they must terminate, and then closes all application windows after the messages have been processed. |
![]() ![]() | Exit(CancelEventArgs^) | Informs all message pumps that they must terminate, and then closes all application windows after the messages have been processed. |
Show:

