Do .NET Timers Run Asynchronously?

Posted by MrEdmundo on Stack Overflow See other posts from Stack Overflow or by MrEdmundo
Published on 2009-04-08T08:58:18Z Indexed on 2010/03/30 15:43 UTC
Read the original article Hit count: 369

Filed under:
|
|
|

I have a messaging aspect of my application using Jabber-net (an XMPP library.)

What I would like to do, if for some reason the connection to the Server is ended, is keep trying to connect every minute or so.

If I start a Timer to wait for a period of time before the next attempt, does that timer run asynchronously and the resulting Tick event join the main thread, or would I need to start my own thread and start the timer from within there?

© Stack Overflow or respective owner

Related posts about c#

Related posts about timers