WaitAsync Method

SemaphoreSlim.WaitAsync Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Asynchronously waits to enter the SemaphoreSlim.

Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Function WaitAsync As Task

Return Value

Type: System.Threading.Tasks.Task
A task that will complete when the semaphore has been entered.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2016 Microsoft