System.ComponentModel.AsyncOperationManager Class

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

See Also: AsyncOperationManager Members


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 System.ComponentModel.AsyncOperationManager provides a convenient way to create a class that runs properly under all application models supported by the dnprdnshort.

The System.ComponentModel.AsyncOperationManager class has one method, AsyncOperationManager.CreateOperation(object), which returns an System.ComponentModel.AsyncOperation that can be used to track the duration of a particular asynchronous task. The System.ComponentModel.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