IAsyncResult.CompletedSynchronously Property
Gets an indication of whether the asynchronous operation completed synchronously.
[Visual Basic] ReadOnly Property CompletedSynchronously As Boolean [C#] bool CompletedSynchronously {get;} [C++] __property bool get_CompletedSynchronously(); [JScript] function get CompletedSynchronously() : Boolean;
Property Value
true if the asynchronous operation completed synchronously; otherwise, false.
Remarks
If the synchronous completion of the call is detected in the AsyncCallback delegate, it is probable that the thread that initiated the asynchronous operation is the current thread.
Notes to Implementers: Most implementers of the IAsyncResult interface will not use this property and should return false.
Notes to Callers: Use this property to determine if the asynchronous operation completed synchronously. For example, this property can return true for an asynchronous I/O operation if the I/O request was small.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard
See Also
IAsyncResult Interface | IAsyncResult Members | System Namespace