AsyncResult.CompletedSynchronously Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the BeginInvoke
call completed synchronously.
public:
virtual property bool CompletedSynchronously { bool get(); };
public virtual bool CompletedSynchronously { get; }
member this.CompletedSynchronously : bool
Public Overridable ReadOnly Property CompletedSynchronously As Boolean
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om