System.ComponentModel.AsyncOperationManager Class

Provides concurrency management for classes that support asynchronous method calls. This class cannot be inherited.

See Also: AsyncOperationManager


public static class AsyncOperationManager


If your class needs to provide asynchronous behavior according to the Event-based Asynchronous Pattern, you will encounter a number of concurrency management issues. Among these is the requirement to ensure that event handlers are called on a thread or context that is appropriate for the application model (for example, Windows Forms applications, vstecasp applications, console applications, and so on). The AsyncOperationManager provides a convenient way to create a class that runs properly under all application models supported by the dnprdnshort.

The AsyncOperationManager class has one method, AsyncOperationManager.CreateOperation(Object), which returns an AsyncOperation that can be used to track the duration of a particular asynchronous task. The AsyncOperation for a task can be used to alert clients when a task completes. It can also be used to post progress updates and incremental results without terminating the operation.

For more information about implementing asynchronous classes, see Implementing the Event-based Asynchronous Pattern.


Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions:,
Since: .NET 2.0

The members of System.ComponentModel.AsyncOperationManager are listed below.

See Also: Object

Public Properties


Gets or sets the synchronization context for the asynchronous operation.

Public Methods

CreateOperation(Object) : AsyncOperation

Returns an AsyncOperation for tracking the duration of a particular asynchronous operation.