ShutdownHandler Class
This class will monitor the state to the application and raise events when it detects that the application is about to shut down.
Namespace: Gemstone.ThreadingAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.155 -- Release Build+fbb54a9347e09f19695376cbf86e09a9ff9ee9ca
public static class ShutdownHandler
Public NotInheritable Class ShutdownHandler
public ref class ShutdownHandler abstract sealed
Gemstone.Threading.ShutdownHandler = function();
Type.createClass(
'Gemstone.Threading.ShutdownHandler');
- Inheritance
- Object ShutdownHandler
This class is duplicated here from the Gemstone.Diagnostics project as an internal class to avoid a circular dependency.
| Initialize |
Initializes the shutdown handler. This is recommended to put in main loop of the program, but it is not critical.
|
| InitiateSafeShutdown |
Requests that certain components initiate a safe shutdown.
|
| TryRegisterCallback |
Attempts Registers a callback that will be called
when the application is shutdown.
|