I have the following code at the backend<BR><BR>void StopService(serviceName){<BR>try{<BR>ServiceContro ller svc = new ServiceController(serviceName);<BR>svc.Stop();<BR> svc.WaitForStatus(ServiceControllerStatus.Stopped) ;<BR>}<BR>}<BR>catch (Exception){<BR>}<BR><BR>My Questions are: <BR>(1) I am using svc.WaitForStatus(ServiceControllerStatus.Stopped) ; (no time out defined here, coz I don&#039;t know how long the service takes to stop...), I think there is a possibility that the code will be blocked forever here, right? just waiting , waiting for the "Stopped" status..How can I avoid this?<BR>(2) In terms of excepion, what kinds of exceptions may occur when controlling a service, what I can think of is "access right exception", what else?<BR><BR>Thank you!!! <BR>