Click or drag to resize

IShutdownService Methods

The IShutdownService type exposes the following members.

Methods
 NameDescription
Public methodAddBackgroundTask Adds a background task on which the application should wait on shutdown. Use this method for tasks that asynchronously write state to disk and should not be interrupted by the applicaiton closing down.
Public methodOnClosing Execute the closing procedure, and maybe prevent the workbench from closing by setting Cancel to true in the event args.
Public methodPreventShutdown Prevents shutdown with the following reason. Dispose the returned value to allow shutdown again.
Public methodShutdown Attemps to close the IDE.
Public methodSignalShutdownToken 
Top
See Also