R
Roshan
Hi,
Is it possible for a windows service to abort a system shutdown? By
registering for the shutdown event with the SCM (by setting
System.ServiceProcess.ServiceBase.CanShutdownproperty to true), the
service is notified of a system shutdown. But the service has only
about 30secs to finish processing. Is it possible for a system service
to abort the shutdown? (Something like what a windows application can
do by handling SessionEnding event).
Thanks,
Roshan
Is it possible for a windows service to abort a system shutdown? By
registering for the shutdown event with the SCM (by setting
System.ServiceProcess.ServiceBase.CanShutdownproperty to true), the
service is notified of a system shutdown. But the service has only
about 30secs to finish processing. Is it possible for a system service
to abort the shutdown? (Something like what a windows application can
do by handling SessionEnding event).
Thanks,
Roshan