schedule Shut Down
Causes a shutdown event to be scheduled for the supplied time. The shutdown event is scheduled and the current task provider is notified of the pending shutdown. This allows the current task provider to react gracefully to the pending shutdown. If there is no task provider then no notification occurs. There is no task provider if the task processor has not been activated.
Parameters
time Until Shutdown
The time until the commencement of the shutdown. The default is 0 (now).