AsyncManualResetEvent::SetAsync Method ()

 

Sets this event to unblock callers of < WaitAsync.

Namespace:   Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

public:
Task^ SetAsync()

Return Value

Type: System.Threading.Tasks::Task^

Returns Task.

This method may return before the signal set has propagated (so IsSet may return false for some time if it is called immediately). The returned task completes when the signal has definitely been set.

Return to top
Show: