WaitForStatus(ServiceControllerStatus) Method
Summary
Waits for the service to reach the specified status.
Syntax
public void WaitForStatus(
ServiceControllerStatus desiredStatus
)
Public Overloads Sub WaitForStatus( _
ByVal desiredStatus As ServiceControllerStatus _
)
public:
void WaitForStatus(
ServiceControllerStatus desiredStatus
)
Parameters
desiredStatus
The status to wait for.