How to Push/Resume backgroundWorker

Posted on 2006-11-27
Last Modified: 2012-05-05

I am wondering how can I push and resume a backgroundWorker while an operation is being performed.

Question by:i950
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 10

Assisted Solution

Kinger247 earned 400 total points
ID: 18027734
Heres a good article on multi thread...

Is this what your after ?

Author Comment

ID: 18031182
No, I just need to push the backgroundWorker.

Thanks anyway.
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 100 total points
ID: 18031216
by "push", do you mean "pause" ?

Author Comment

ID: 18031267

Sorry for my bad English :D
LVL 10

Accepted Solution

Kinger247 earned 400 total points
ID: 18035293
lol, I see :)

You can use : System.Threading.Thread.Sleep(0)

Or: System.Threading.Thread.Suspend()

Although in 2005, suspend is obsolete.

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MYSQL responding very slow 3 68
ASP.NET Calendar Control 5 54
Import a excel sheet in a grid 2 45
input validations, TryUpdateModel and model binding  in mvc 5 25
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question