The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
SemaphoreSlim.WaitAsync Method (TimeSpan)
[ 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, using a TimeSpan to measure the time interval.
Public Function WaitAsync ( _
timeout As TimeSpan _
) As Task(Of Boolean)
- Type: System.TimeSpan
A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 milliseconds to wait indefinitely.
Windows Phone OS
Supported in: 8.1, 8.0