This topic has not yet been rated - Rate this topic

AsyncManager Class

.NET Framework 4

Provides asynchronous operations for the AsyncController class.

System.Object
  System.Web.Mvc.Async.AsyncManager

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

The AsyncManager type exposes the following members.

  Name Description
Public method AsyncManager() Initializes a new instance of the AsyncManager class.
Public method AsyncManager(SynchronizationContext) Initializes a new instance of the AsyncManager class using the synchronization context.
Top
  Name Description
Public property OutstandingOperations Gets the number of outstanding operations.
Public property Parameters Gets the parameters that were passed to the asynchronous completion method.
Public property Timeout Gets or sets the asynchronous timeout value, in milliseconds.
Top
  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Finish Notifies ASP.NET that all asynchronous operations are complete.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Sync Executes a callback in the current synchronization context.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  Name Description
Public event Finished Occurs when the Finish method is called.
Top

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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ