WWaits for the service to reach the specified status or for the specified timeout period.
Overload | Description |
---|---|
WaitForStatus(ServiceControllerStatus) | Waits for the service to reach the specified status. |
WaitForStatus(ServiceControllerStatus,TimeSpan) | WWaits for the service to reach the specified status or for the specified timeout period. |