Files
docs-desktop/dotnet-desktop-guide/framework/winforms/controls/backgroundworker-component.md
T

2.8 KiB

title, ms.date, helpviewer_keywords, ms.assetid
title ms.date helpviewer_keywords ms.assetid
BackgroundWorker Component 03/30/2017
BackgroundWorker component
background tasks
Asynchronous Pattern
forms [Windows Forms], multithreading
components [Windows Forms], asynchronous
forms [Windows Forms], background operations
threading [Windows Forms], background operations
background operations
bef7b0ab-ce57-475a-a2d6-fb8a702a9417

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.

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.

Reference

xref:System.ComponentModel.BackgroundWorker
Describes this class and has links to all its members.

xref:System.ComponentModel.RunWorkerCompletedEventArgs
Describes the type that holds data for the xref:System.ComponentModel.BackgroundWorker.RunWorkerCompleted event.

xref:System.ComponentModel.ProgressChangedEventArgs
Describes the type that holds data for the xref:System.ComponentModel.BackgroundWorker.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.