ServiceController.WaitForStatus Method
.NET Framework 3.0
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. |