Events
17 Mar, 9 pm - 21 Mar, 10 am
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
There are a number of ways to expose asynchronous features to client code. The Event-based Asynchronous Pattern prescribes one way for classes to present asynchronous behavior.
Note
Starting with .NET Framework 4, the Task Parallel Library provides a new model for asynchronous and parallel programming. For more information, see Task Parallel Library (TPL) and Task-based Asynchronous Pattern (TAP).
Event-based Asynchronous Pattern Overview Describes how the Event-based Asynchronous Pattern makes available the advantages of multithreaded applications while hiding many of the complex issues inherent in multithreaded design.
Implementing the Event-based Asynchronous Pattern Describes the standardized way to package a class that has asynchronous features.
Best Practices for Implementing the Event-based Asynchronous Pattern Describes the requirements for exposing asynchronous features according to the Event-based Asynchronous Pattern.
Deciding When to Implement the Event-based Asynchronous Pattern Describes how to determine when you should choose to implement the Event-based Asynchronous Pattern instead of the IAsyncResult pattern represented by the Asynchronous Programming Model (APM).
How to: Implement a Component That Supports the Event-based Asynchronous Pattern Describes how to create a component that implements the Event-based Asynchronous Pattern. It is implemented using helper classes from the System.ComponentModel namespace, which ensures that the component works correctly under any application model.
How to: Implement a Client of the Event-based Asynchronous Pattern Describes how to create a client that uses a component that implements the Event-based Asynchronous Pattern.
How to: Use Components That Support the Event-based Asynchronous Pattern Describes how to use a component that supports the Event-based Asynchronous Pattern.
AsyncOperation Describes the AsyncOperation class and has links to all its members.
AsyncOperationManager Describes the AsyncOperationManager class and has links to all its members.
BackgroundWorker Describes the BackgroundWorker component and has links to all its members.
Task Parallel Library (TPL) Describes a programming model for asynchronous and parallel operations.
Threading Describes multithreading features in .NET.
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Events
17 Mar, 9 pm - 21 Mar, 10 am
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Learning path
AZ-204: Develop event-based solutions - Training
AZ-204: Develop event-based solutions
Documentation
Asynchronous Programming Model (APM) - .NET
Learn about the Asynchronous Programming Model (APM) in .NET. Discover how to begin and end an asynchronous operation.
Event-based Asynchronous Pattern Overview - .NET
Review Event-based Asynchronous Patterns (EAPs) in .NET, which make available the advantages of multithreaded applications but hide some design complexities.
Best Practices for Implementing the Event-based Asynchronous Pattern - .NET
Learn more about: Best Practices for Implementing the Event-based Asynchronous Pattern