July 28, 2014
Represents the status of an asynchronous operation.
Assembly: mscorlib (in mscorlib.dll)
Thetype exposes the following members.
|AsyncState||Gets a user-defined object that qualifies or contains information about an asynchronous operation.|
|AsyncWaitHandle||Gets a WaitHandle that is used to wait for an asynchronous operation to complete.|
|CompletedSynchronously||Gets a value that indicates whether the asynchronous operation completed synchronously.|
|IsCompleted||Gets a value that indicates whether the asynchronous operation has completed.|
The interface is implemented by classes containing methods that can operate asynchronously. It is the return type of methods that initiate an asynchronous operation, such as IsolatedStorageFileStream.BeginRead, and is passed to methods that conclude an asynchronous operation, such as IsolatedStorageFileStream.EndRead. An is also passed to the method that is invoked by an AsyncCallback delegate when an asynchronous operation completes.
An object that supports the interface stores state information for an asynchronous operation, and provides a synchronization object to allow threads to be signaled when the operation completes.