Exemplo n.º 1
0
 protected override void OnStart(string[] args)
 {
     try
     {
         m_serviceThreadObj = new pGina.Service.Impl.ServiceThread();
         m_serviceThread    = new Thread(new ThreadStart(m_serviceThreadObj.Start));
         m_serviceThread.Start();
     }
     catch (Exception e)
     {
         EventLog.WriteEntry("pGina", e.ToString(), EventLogEntryType.Error);
         throw;
     }
 }
Exemplo n.º 2
0
 protected override void OnStart(string[] args)
 {
     try
     {
         m_serviceThreadObj = new pGina.Service.Impl.ServiceThread();
         m_serviceThread = new Thread(new ThreadStart(m_serviceThreadObj.Start));
         m_serviceThread.Start();
     }
     catch (Exception e)
     {
         EventLog.WriteEntry("pGina", e.ToString(), EventLogEntryType.Error);
         throw;
     }
 }