Export (0) Print
Expand All

BackgroundWorker Component 

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

In This Section

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.

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.

How to: Download a File in the Background

Demonstrates how to use the BackgroundWorker component to download a file on a separate thread.

How to: Implement a Form That Uses a Background Operation

Creates an application that does mathematical computations asynchronously.

Reference

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.

Related Sections

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.

Community Additions

ADD
Show:
© 2014 Microsoft