Exemple #1
0
 protected override void OnConnected()
 {
     foreach (var serviceType in serviceTypeReader.GetEServiceTypes())
     {
         //HubProxy.Invoke("WinServiceRegister", serviceType, m_Mac, Defaults.ProcessName);
     }
 }
Exemple #2
0
 /// <summary>
 /// Get service list.
 /// </summary>
 /// <returns>return the servicetype list.</returns>
 public List <EServiceType> GetServiceList()
 {
     try
     {
         return(serviceTypeReader.GetEServiceTypes().ToList());
     }
     catch (Exception ex)
     {
         var fex = new FaultException(new FaultReason(ex.Message), new FaultCode("001"), "GetServiceList");
         loggerPool.Log("", new LogContentEntity(fex.Message + fex.StackTrace));
         throw fex;
     }
 }