WaitForStatus(ServiceControllerStatus) Method
Summary
Waits for the service to reach the specified status.
Syntax
public void WaitForStatus(
ServiceControllerStatus desiredStatus
)
public:
void WaitForStatus(
ServiceControllerStatus desiredStatus
)
Parameters
desiredStatus
The status to wait for.