Source/NFX/ServiceModel/Service.cs
/// <summary>
/// Checks for service activity and throws exception if service is not in ControlStatus.Active state
/// </summary>
Checks for service activity and throws exception if service is not in ControlStatus.Active state
Checks for service activity and throws exception if service is not in ControlStatus . Active state
protected void CheckServiceActiveOrStarting()
            {
                if (m_Status!=ControlStatus.Active && m_Status!=ControlStatus.Starting)
                throw new NFXException(StringConsts.SERVICE_INVALID_STATE + Name);
            }
protected void CheckServiceActiveOrStarting ( ) { if ( m_Status != ControlStatus . Active && m_Status != ControlStatus . Starting ) throw new NFXException ( StringConsts . SERVICE_INVALID_STATE + Name ) ; }
Checks for service activity and throws exception if service is not in ControlStatus.Active state
Checks for service activity and throws exception if service is not in ControlStatus . Active state