17 writes to currentState
System.ServiceProcess.ServiceController (17)
System\ServiceProcess\ServiceBase.cs (17)
401_status.currentState = ServiceControlStatus.STATE_RUNNING; 405_status.currentState = ServiceControlStatus.STATE_PAUSED; 444_status.currentState = ServiceControlStatus.STATE_PAUSED; 448_status.currentState = ServiceControlStatus.STATE_RUNNING; 516_status.currentState = ServiceControlStatus.STATE_STOP_PENDING; 522_status.currentState = ServiceControlStatus.STATE_STOPPED; 527_status.currentState = previousState; 552_status.currentState = ServiceControlStatus.STATE_STOPPED; 681_status.currentState = ServiceControlStatus.STATE_START_PENDING; 760_status.currentState = ServiceControlStatus.STATE_CONTINUE_PENDING; 771_status.currentState = ServiceControlStatus.STATE_PAUSE_PENDING; 789_status.currentState = ServiceControlStatus.STATE_STOP_PENDING; 793_status.currentState = previousState; 830_status.currentState = ServiceControlStatus.STATE_RUNNING; 835_status.currentState = ServiceControlStatus.STATE_STOPPED; 902_status.currentState = ServiceControlStatus.STATE_START_PENDING; 941_status.currentState = ServiceControlStatus.STATE_STOPPED;
19 references to currentState
System.ServiceProcess.ServiceController (19)
System\ServiceProcess\ServiceBase.cs (18)
62if (_status.currentState != ServiceControlStatus.STATE_CONTINUE_PENDING && 63_status.currentState != ServiceControlStatus.STATE_START_PENDING && 64_status.currentState != ServiceControlStatus.STATE_STOP_PENDING && 65_status.currentState != ServiceControlStatus.STATE_PAUSE_PENDING) 508if (_status.currentState != ServiceControlStatus.STATE_STOPPED) 512int previousState = _status.currentState; 546if (_status.currentState == ServiceControlStatus.STATE_PAUSED || _status.currentState == ServiceControlStatus.STATE_RUNNING) 750else if (_status.currentState != ServiceControlStatus.STATE_CONTINUE_PENDING && 751_status.currentState != ServiceControlStatus.STATE_START_PENDING && 752_status.currentState != ServiceControlStatus.STATE_STOP_PENDING && 753_status.currentState != ServiceControlStatus.STATE_PAUSE_PENDING) 758if (_status.currentState == ServiceControlStatus.STATE_PAUSED) 769if (_status.currentState == ServiceControlStatus.STATE_RUNNING) 780int previousState = _status.currentState; 787if (_status.currentState == ServiceControlStatus.STATE_PAUSED || _status.currentState == ServiceControlStatus.STATE_RUNNING) 939if (_status.currentState != ServiceControlStatus.STATE_STOPPED)
System\ServiceProcess\ServiceController.cs (1)
505_status = (ServiceControllerStatus)svcStatus.currentState;