Export (0) Print
Expand All

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
[C#]
public virtual bool CompletedSynchronously {get;}
[C++]
public: __property virtual bool get_CompletedSynchronously();
[JScript]
public function get CompletedSynchronously() : Boolean;

Property Value

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

Implements

IAsyncResult.CompletedSynchronously

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft