Timeout

  • Thread starter csharpula csharp
  • Start date
C

csharpula csharp

I have a method which supposed to be called by some other process and if
it won't call it - I want to call it myself after x secounds. How can I
implement this in c#?
 
V

Vadym Stetsyak

Hello, csharpula!
You wrote on Sun, 06 Aug 2006 11:16:19 -0700:

cc> I have a method which supposed to be called by some other process and
cc> if it won't call it - I want to call it myself after x secounds. How
cc> can I implement this in c#?

You can use timer.
Take a look at System.Threading.Timer class.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top