Shutdown |
The ShutdownService type exposes the following members.
| Name | Description | |
|---|---|---|
| ClosedAsync | Occurs when the project is already closed and the rest of the shutdown procedure starts to happen. This is a weak event in order to prevent garbage collection of item that subscribe to this event. The event is raised during stage 3 OnClosingStage3_SignalShutdownToken. The tasks are executed in parallel on thread-pool threads, thus make sure that the event handlers are thread-safe. | |
| CurrentReasonPreventingShutdown | Gets the current reason that prevents shutdown. If there isn't any reason, returns null. If there are multiple reasons, only one of them is returned. | |
| DelayedShutdownToken | ||
| IsApplicationClosing | ||
| ShutdownToken |