yes i am using System.Timers.Timer but i need to use System.Threading Timer because sometimes code line on timer_tick event takes longer than Interval time.
i wil try SynchronizingObject to null hope it works fine thank you.
If the time needed for the process is longer than the interval, you can stop the timer in the Elapsed event handler, call your process and restart the timer when the process is finished (recalculating the required interval if needed).yes i am using System.Timers.Timer but i need to use System.Threading Timer because sometimes code line on timer_tick event takes longer than Interval time.