Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ServiceController.WaitForStatus Method

Waits for the service to reach the specified status.

Name Description
ServiceController.WaitForStatus (ServiceControllerStatus) Infinitely waits for the service to reach the specified status.
ServiceController.WaitForStatus (ServiceControllerStatus, TimeSpan) Waits for the service to reach the specified status or for the specified time-out to expire.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft