Go Premium for a chance to win a PS4. Enter to Win


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
  • 2
  • 2
LVL 10

Assisted Solution

Kinger247 earned 1200 total points
ID: 18027734
Heres a good article on multi thread... http://www.devx.com/DevX/10MinuteSolution/20365/1954?pf=true

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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

916 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