Rerunning DoWork on Background Worker Based on Result?
Posted
by Soo
on Stack Overflow
See other posts from Stack Overflow
or by Soo
Published on 2010-05-28T19:47:48Z
Indexed on
2010/05/28
19:51 UTC
Read the original article
Hit count: 147
c#
|backgroundworker
Let's say I have a backgroundWorker1_DoWork that finds a value in a database and returns it in e.Result. Let's say I also have a backgroundWorker1_RunWorkerCompleted that reads the result.
What I want to be able to do is based on e.Result, I can re-run backgroundWorker1_DoWork, and this I am not sure how to do.
I'd really appreciate any help.
© Stack Overflow or respective owner