AsyncResult.CompletedSynchronously Property

Definition

Gets a value indicating whether the BeginInvoke call completed synchronously.

C#
public virtual bool CompletedSynchronously { get; }

Property Value

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

Implements

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.

Applies to

Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1