Training
Module
Implement Asynchronous Tasks - Training
Learn how to implement asynchronous tasks in C# apps using the `async` and `await` keywords and how to run asynchronous tasks in parallel.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
.NET Desktop feedback feedback
.NET Desktop feedback is an open source project. Select a link to provide feedback:
Training
Module
Implement Asynchronous Tasks - Training
Learn how to implement asynchronous tasks in C# apps using the `async` and `await` keywords and how to run asynchronous tasks in parallel.