System.Windows.Forms.ApplicationContext Class

Specifies the contextual information about an application thread.

See Also: ApplicationContext Members

Syntax

public class ApplicationContext : IDisposable

Remarks

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.

Requirements

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