Ejemplo n.º 1
0
 public void UploadSharedFile(ResourceUploadContract contract)
 {
     try
     {
         Channel.UploadSharedFile(contract);
     }
     catch (CommunicationException ex)
     {
         if (m_log.IsErrorEnabled)
         {
             m_log.ErrorFormat("{0} failed with: {1}", GetCurrentMethod(), ex);
         }
         throw;
     }
     catch (TimeoutException ex)
     {
         if (m_log.IsErrorEnabled)
         {
             m_log.ErrorFormat("{0} failed with: {1}", GetCurrentMethod(), ex);
         }
         throw;
     }
     catch (ObjectDisposedException ex)
     {
         if (m_log.IsErrorEnabled)
         {
             m_log.ErrorFormat("{0} failed with: {1}", GetCurrentMethod(), ex);
         }
         throw;
     }
 }
Ejemplo n.º 2
0
 public void UploadSharedFile(ResourceUploadContract contract)
 {
     m_searchServiceManager.UploadSharedFile(contract);
 }
Ejemplo n.º 3
0
 public void UploadSharedFile(ResourceUploadContract contract)
 {
     m_existManager.UploadSharedFile(contract.FileName, contract.DataStream);
 }