locked
Set timeout to BackGroundworker RRS feed

  • Question

  • Hi,

    How do I set timeout to BackGroundworker...I want to cancel the async process after specic amount of time....is ther any way to associate timer to BackgroundWorker object...

    your earliest replies are much appreacited..

    Thanks,
    Sai
    C# Programmer
    Monday, September 29, 2008 5:29 PM

Answers

  • start a timer and call BackgroundWorker.CancelAsync when timeout expires.
    MSMVP VC++
    • Marked as answer by SaiAcc Tuesday, September 30, 2008 6:15 PM
    Monday, September 29, 2008 6:22 PM