ApplicationContext.ExitThreadCore Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: