Bagikan melalui


AsyncManualResetEvent.WaitAsync Method

Returns a task that will be completed when this event is set.

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

Syntax

'Declaration
Public Function WaitAsync As Task
public Task WaitAsync()
public:
Task^ WaitAsync()
member WaitAsync : unit -> Task
public function WaitAsync() : Task

Return Value

Type: System.Threading.Tasks.Task
Returns Task.

.NET Framework Security

See Also

Reference

AsyncManualResetEvent Class

Microsoft.VisualStudio.Threading Namespace