7 writes to _status
System.ServiceProcess.ServiceController (7)
System\ServiceProcess\ServiceBase.cs (7)
60fixed (SERVICE_STATUS* pStatus = &_status) 395fixed (SERVICE_STATUS* pStatus = &_status) 438fixed (SERVICE_STATUS* pStatus = &_status) 510fixed (SERVICE_STATUS* pStatus = &_status) 548fixed (SERVICE_STATUS* pStatus = &_status) 746fixed (SERVICE_STATUS* pStatus = &_status) 855fixed (SERVICE_STATUS* pStatus = &_status)
57 references to _status
System.ServiceProcess.ServiceController (57)
System\ServiceProcess\ServiceBase.cs (57)
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) 70_status.waitHint = milliseconds; 71_status.checkPoint++; 110return _status.win32ExitCode; 114_status.win32ExitCode = value; 401_status.currentState = ServiceControlStatus.STATE_RUNNING; 405_status.currentState = ServiceControlStatus.STATE_PAUSED; 444_status.currentState = ServiceControlStatus.STATE_PAUSED; 448_status.currentState = ServiceControlStatus.STATE_RUNNING; 508if (_status.currentState != ServiceControlStatus.STATE_STOPPED) 512int previousState = _status.currentState; 514_status.checkPoint = 0; 515_status.waitHint = 0; 516_status.currentState = ServiceControlStatus.STATE_STOP_PENDING; 522_status.currentState = ServiceControlStatus.STATE_STOPPED; 527_status.currentState = previousState; 546if (_status.currentState == ServiceControlStatus.STATE_PAUSED || _status.currentState == ServiceControlStatus.STATE_RUNNING) 550_status.checkPoint = 0; 551_status.waitHint = 0; 552_status.currentState = ServiceControlStatus.STATE_STOPPED; 674_status.serviceType = ServiceTypeOptions.SERVICE_WIN32_OWN_PROCESS; 678_status.serviceType = ServiceTypeOptions.SERVICE_WIN32_SHARE_PROCESS; 681_status.currentState = ServiceControlStatus.STATE_START_PENDING; 682_status.controlsAccepted = 0; 683_status.win32ExitCode = 0; 684_status.serviceSpecificExitCode = 0; 685_status.checkPoint = 0; 686_status.waitHint = 0; 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) 760_status.currentState = ServiceControlStatus.STATE_CONTINUE_PENDING; 769if (_status.currentState == ServiceControlStatus.STATE_RUNNING) 771_status.currentState = ServiceControlStatus.STATE_PAUSE_PENDING; 780int previousState = _status.currentState; 787if (_status.currentState == ServiceControlStatus.STATE_PAUSED || _status.currentState == ServiceControlStatus.STATE_RUNNING) 789_status.currentState = ServiceControlStatus.STATE_STOP_PENDING; 793_status.currentState = previousState; 828_status.checkPoint = 0; 829_status.waitHint = 0; 830_status.currentState = ServiceControlStatus.STATE_RUNNING; 835_status.currentState = ServiceControlStatus.STATE_STOPPED; 895_status.controlsAccepted = _acceptedCommands; 897if ((_status.controlsAccepted & AcceptOptions.ACCEPT_STOP) != 0) 899_status.controlsAccepted |= AcceptOptions.ACCEPT_SHUTDOWN; 902_status.currentState = ServiceControlStatus.STATE_START_PENDING; 926if (_status.win32ExitCode == 0) 928_status.win32ExitCode = ServiceControlStatus.ERROR_EXCEPTION_IN_SERVICE; 939if (_status.currentState != ServiceControlStatus.STATE_STOPPED) 941_status.currentState = ServiceControlStatus.STATE_STOPPED;