BackgroundWorker Component

 

The BackgroundWorker component enables your form or control to run an operation asynchronously.

BackgroundWorker Component Overview
Describes the BackgroundWorker component, which gives you the ability to execute time-consuming operations asynchronously ("in the background"), on a thread different from your application's main UI thread.

Walkthrough: Running an Operation in the Background
Demonstrates how to use the BackgroundWorker component in the designer to run a time-consuming operation on a separate thread.

How to: Run an Operation in the Background
Demonstrates how to use the BackgroundWorker component to run a time-consuming operation on a separate thread.

Walkthrough: Implementing a Form That Uses a Background Operation
Creates an application using the designer that does mathematical computations asynchronously.

How to: Implement a Form That Uses a Background Operation
Creates an application that does mathematical computations asynchronously.

How to: Download a File in the Background
Demonstrates how to use the BackgroundWorker component to download a file on a separate thread.

BackgroundWorker
Describes this class and has links to all its members.

RunWorkerCompletedEventArgs
Describes the type that holds data for the RunWorkerCompleted event.

ProgressChangedEventArgs
Describes the type that holds data for the ProgressChanged event.

Event-based Asynchronous Pattern Overview
Describes how the asynchronous pattern makes available the advantages of multithreaded applications while hiding many of the complex issues inherent in multithreaded design.

Show: