Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

My question is How do you cancel an already executed task. Lets say I have 10 tasks and I have put these tasks in a timer based async method. Since it is a timer based application, these tasks will be executed again and again. But, I don't want this to happen. If Task 1 is already finished then it should not be executed again.

Can anyone help me out in this regard with an example.
Posted

1 solution

Refer this link : Create and Terminate Threads
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900