Represents the status of an asynchronous operation.
Assembly: mscorlib (in mscorlib.dll)
'Declaration <ComVisibleAttribute(True)> _ Public Interface IAsyncResult
[ComVisibleAttribute(true)] public interface IAsyncResult
The IAsyncResult type 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 IAsyncResult 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 IAsyncResult is also passed to the method that is invoked by an AsyncCallback delegate when an asynchronous operation completes.
An object that supports the IAsyncResult interface stores state information for an asynchronous operation, and provides a synchronization object to allow threads to be signaled when the operation completes.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Supported in: Xbox 360, Windows Phone OS 7.0
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.