AsyncManager Class
Provides asynchronous operations for the AsyncController class.
Inheritance Hierarchy
System.Object
System.Web.Mvc.Async.AsyncManager
Namespace: System.Web.Mvc.Async
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Class AsyncManager
public class AsyncManager
public ref class AsyncManager
The AsyncManager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AsyncManager() | Initializes a new instance of the AsyncManager class. | |
AsyncManager(SynchronizationContext) | Initializes a new instance of the AsyncManager class using the synchronization context. |
Top
Properties
Name | Description | |
---|---|---|
OutstandingOperations | Gets the number of outstanding operations. | |
Parameters | Gets the parameters that were passed to the asynchronous completion method. | |
Timeout | Gets or sets the asynchronous timeout value, in milliseconds. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Finish | Notifies ASP.NET that all asynchronous operations are complete. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Sync | Executes a callback in the current synchronization context. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
Finished | Occurs when the Finish method is called. |
Top
Examples
A Visual Studio project with source code is available to accompany this topic: Download.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.