Using RequestAdditionalTime for a windows service, does not prolong the waiting period long enough. I have to wait for a job to finish , so i keep on
while (gs_bisProcessing)
{
OnRequestMoreTime(20000);
Thread.Sleep(20000);
}
but still the job takes long enough that the service while stopping, gives the message box that the service did not respond in a timely fashion... and teh state of the service stays 'Stopping' even if you refresh. So what to do now? I want to do the same thing onShutdown too? Any ideas?