ShutdownHandler Class
This class will monitor the state to the application and raise events when it detects that the application is about to shutdown.
Namespace: Gemstone.DiagnosticsAssembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.128 -- Release Build+d9d157c80da59365061f9bf4a5d1ecd0f0496e1b
public static class ShutdownHandler
Public NotInheritable Class ShutdownHandler
public ref class ShutdownHandler abstract sealed
Gemstone.Diagnostics.ShutdownHandler = function();
Type.createClass(
'Gemstone.Diagnostics.ShutdownHandler');
- Inheritance
- Object ShutdownHandler
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.
|