Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


How to Push/Resume backgroundWorker

Posted on 2006-11-27
Medium Priority
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 1200 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 300 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 1200 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

721 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