GSF.ServiceProcess.ServiceHelper.OnProcessStateChanged C# (CSharp) Method

OnProcessStateChanged() protected method

Raises the ProcessStateChanged event.
protected OnProcessStateChanged ( string processName, ServiceProcessState processState ) : void
processName string Name of the whose state changed.
processState ServiceProcessState New of the .
return void
        protected virtual void OnProcessStateChanged(string processName, ServiceProcessState processState)
        {
            // Notify all service event consumer of change in process state
            if ((object)ProcessStateChanged != null)
                ProcessStateChanged(this, new EventArgs<string, ServiceProcessState>(processName, processState));

            // Notify all remote clients of change in process state
            SendProcessStateChangedResponse(processName, processState);
        }
ServiceHelper