Source/NFX/ServiceModel/Service.cs
/// <summary>
/// Non-blocking call that returns true when the service instance has completely stopped after SignalStop()
/// </summary>
Non-blocking call that returns true when the service instance has completely stopped after SignalStop()
Non - blocking call that returns true when the service instance has completely stopped after SignalStop ()
public bool CheckForCompleteStop()
            {
                lock (m_StatusLock)
                {
                    if (m_Status == ControlStatus.Inactive) return true;
                    if (m_Status == ControlStatus.Stopping)
                        return DoCheckForCompleteStop();
                    else
                        return false;
                }
            }
public bool CheckForCompleteStop ( ) { lock ( m_StatusLock ) { if ( m_Status == ControlStatus . Inactive ) return true ; if ( m_Status == ControlStatus . Stopping ) return DoCheckForCompleteStop ( ) ; else return false ; } }
Non-blocking call that returns true when the service instance has completely stopped after SignalStop()
Non - blocking call that returns true when the service instance has completely stopped after SignalStop ()