AsyncManager Class

Visual Studio 2010

Provides asynchronous operations for the AsyncController class.


Namespace:  System.Web.Mvc.Async
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public class AsyncManager

The AsyncManager type exposes the following members.

Public methodAsyncManager()Initializes a new instance of the AsyncManager class.
Public methodAsyncManager(SynchronizationContext)Initializes a new instance of the AsyncManager class using the synchronization context.

Public propertyOutstandingOperationsGets the number of outstanding operations.
Public propertyParametersGets the parameters that were passed to the asynchronous completion method.
Public propertyTimeoutGets or sets the asynchronous timeout value, in milliseconds.

Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodFinishNotifies ASP.NET that all asynchronous operations are complete.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSyncExecutes a callback in the current synchronization context.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public eventFinishedOccurs when the Finish method is called.

A Visual Studio project with source code is available to accompany this topic: Download.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions