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

OnSystemShutdown() protected method

Raises the SystemShutdown event.
protected OnSystemShutdown ( ) : void
return void
        protected virtual void OnSystemShutdown()
        {
            // Notify service event consumers of pending service shutdown
            SendServiceStateChangedResponse(ServiceState.Shutdown);

            // Notify service event consumers that service has shutdown
            if ((object)SystemShutdown != null)
                SystemShutdown(this, EventArgs.Empty);
        }
ServiceHelper