Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Windows Service Started Stage

$
0
0

Hi,

i've develop a service which is using a method which is using wait event on start. However, when i start the service, it would not get started because the wait for next event is not triggered unless i triggered it manually. May i know if i can call the method after the service is started?

            watcher.Start();
            watcher.WaitForNextEvent();

regards,

Joh


Viewing all articles
Browse latest Browse all 8156

Trending Articles