Does anyone know how to keep a threading.timer from being garbage collected? The timer works fine and mutiple threads are usually running without any problems, however, when the GC is executed the timers are disposed of. Anybody have any ideas?
Code:
Dim timerDelegate As Threading.TimerCallback = AddressOf Me.SendFaxResponse
checkInboxTimer = New System.Threading.Timer(timerDelegate, Nothing, 60000, 20000)