Export (0) Print
Expand All

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.

  NameDescription
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.
Top

  NameDescription
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.
Top

  NameDescription
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.)
Top

  NameDescription
Public eventFinishedOccurs 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.

Community Additions

ADD
Show:
© 2014 Microsoft