SemaphoreSlim.WaitAsync Method

July 28, 2014

Asynchronously waits to enter the SemaphoreSlim.

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

public Task WaitAsync()

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:
© 2014 Microsoft