OptionalprepareOptionalpriorityA number representing priority. Higher priority items are run later. High priority implies that some options of this check will have negative impacts if the user subsequently cancels the shutdown.
A descriptive string for the reason preventing close.
Resolves
to
trueif it is safe to close the application;falseotherwise.