SystemEvents::EventsThreadShutdown Event
.NET Framework (current version)
Occurs before the thread that listens for system events is terminated.
Assembly: System (in System.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | System event notifications are not supported under the current context. Server processes, for example, might not support global system event notifications. |
| ExternalException | 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.
Caution |
|---|
Because this is a static event, you must detach your event handlers when your application is disposed, or memory leaks will result. |
.NET Framework
Available since 1.1
Available since 1.1
Show:
