GSF.ServiceProcess.ServiceHelper.OnServiceStopping C# (CSharp) 메소드

OnServiceStopping() 보호된 메소드

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

            // Notify all remote clients of service stop
            SendServiceStateChangedResponse(ServiceState.Stopped);
        }
ServiceHelper