ApplicationContext::ExitThreadCore Method ()

 

Terminates the message loop of the thread.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected:
virtual void ExitThreadCore()

This method is called from ExitThread.

System_CAPS_noteNote

ExitThread and ExitThreadCore do not actually cause the thread to terminate. These methods raise the ThreadExit event to which the Application object listens. The Application object then terminates the thread.

.NET Framework
Available since 1.1
Return to top
Show: