/// ////////////////////////////////////////////////////////////////////////// protected void EnvoieNotificationToSessionThread(CSessionClient session, IDonneeNotification[] donnees) { try { session.OnNotification(donnees); } catch (Exception e) { try { m_nNbErreursNotif++; if (m_nNbErreursNotif > 20) { C2iEventLog.WriteErreur("Error sending notification \r\n" + e.ToString()); m_nNbErreursNotif = 0; } } catch { } } }