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

OnServicePausing() protected method

Raises the ServicePausing event.
protected OnServicePausing ( ) : void
return void
        protected virtual void OnServicePausing()
        {
            // Notify service event consumers of pending service stop
            if ((object)ServicePausing != null)
                ServicePausing(this, EventArgs.Empty);

            // Notify all remote clients of service pause
            SendServiceStateChangedResponse(ServiceState.Paused);
        }
ServiceHelper