System.Windows.Forms.ApplicationContext Class

Specifies the contextual information about an application thread.

See Also: ApplicationContext Members


public class ApplicationContext : IDisposable


You can use the System.Windows.Forms.ApplicationContext class to redefine the circumstances that cause a message loop to exit. By default, the System.Windows.Forms.ApplicationContext listens to the Form.Closed event on the application's main System.Windows.Forms.Form, then exits the thread's message loop.


Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0,