コード例 #1
0
 internal void Log(IClientProvider client, List <LogEntry> logEntries)
 {
     try
     {
         clientProvider.Log(logEntries);
         retries = 0;
     }
     catch (TException tEx)
     {
         if (retries < 3)
         {
             retries++;
             Log(client, logEntries);
         }
         else
         {
             throw;
         }
     }
 }