This documentation is archived and is not being maintained.

AsyncResult.CompletedSynchronously Property

Gets a value indicating whether the BeginInvoke call completed synchronously.

[Visual Basic]
Public Overridable ReadOnly Property CompletedSynchronously As _
   Boolean  Implements IAsyncResult.CompletedSynchronously
public virtual bool CompletedSynchronously {get;}
public: __property virtual bool get_CompletedSynchronously();
public function get CompletedSynchronously() : Boolean;

Property Value

true if the BeginInvoke call completed synchronously; otherwise, false.




If it is detected that the BeginInvoke call completed synchronously in the AsyncCallback delegate, it is probable that the thread that called BeginInvoke is the current thread. Most providers of the IAsyncResult interface will not use the capability and will return a default false.

Current implementation of CompletedSynchronously always returns false.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

AsyncResult Class | AsyncResult Members | System.Runtime.Remoting.Messaging Namespace