Application::Exit Method (CancelEventArgs^)
.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)
SecurityException
For permission to terminate a running application thread. Associated enumeration: UnmanagedCode
.NET Framework
Available since 2.0
Available since 2.0
Show: