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

x
?
Solved

How to Push/Resume backgroundWorker

Posted on 2006-11-27
5
Medium Priority
?
479 Views
Last Modified: 2012-05-05
Hi,

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

Thanks.
0
Comment
Question by:i950
  • 2
  • 2
5 Comments
 
LVL 10

Assisted Solution

by:Kinger247
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 ?
0
 

Author Comment

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

Thanks anyway.
0
 
LVL 70

Assisted Solution

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

Author Comment

by:i950
ID: 18031267
Yes!!!

Sorry for my bad English :D
0
 
LVL 10

Accepted Solution

by:
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.
0

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