Events. Events Thread Shutdown Event
Occurs before the thread that listens for system events is terminated.
public: static event EventHandler ^ EventsThreadShutdown;
public static event EventHandler EventsThreadShutdown;
member this.EventsThreadShutdown : EventHandler
Public Shared Custom Event EventsThreadShutdown As EventHandler
System event notifications are not supported under the current context. Server processes, for example, might not support global system event notifications.
The attempt to create a system events window thread did not succeed.
This event is raised as the thread that listens for system events is about to be terminated. System event delegates are invoked using the thread that listens for system events.
Because this is a static event, you must detach your event handlers when your application is disposed, or memory leaks will result.