Finding a system.threading.timer from its ToString and make dispose of it in VB.NET
Posted on 2004-08-05
I am writing an application for scheduling database queries, dtsjobs and store procedures. I am launching a lot of Timer objects. I store their ToString() sentences into a string variable which I later save on my SQL Server. However I do need to be able to dispose all these System.Threading.Timer in the event of a rescheduling task being launched by a user.
How do I find a specific Timer from its ToString. Or any ideas on how to do this otherwise?