Source/NFX/ServiceModel/Service.cs
/// <summary>
/// Checks for service inactivity and throws exception if service is running (started, starting or stopping)
/// </summary>
Checks for service inactivity and throws exception if service is running (started, starting or stopping)
Checks for service inactivity and throws exception if service is running ( started starting or stopping )
protected void CheckServiceInactive()
            {
                if (Status!=ControlStatus.Inactive)
                throw new NFXException(StringConsts.SERVICE_INVALID_STATE + Name);
            }
protected void CheckServiceInactive ( ) { if ( Status != ControlStatus . Inactive ) throw new NFXException ( StringConsts . SERVICE_INVALID_STATE + Name ) ; }
Checks for service inactivity and throws exception if service is running (started, starting or stopping)
Checks for service inactivity and throws exception if service is running ( started starting or stopping )