SemaphoreSlim.WaitAsync Method
.NET Framework 4.5
Asynchronously waits to enter the SemaphoreSlim.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
WaitAsync() | Asynchronously waits to enter the SemaphoreSlim. |
|
WaitAsync(CancellationToken) | Asynchronously waits to enter the SemaphoreSlim, while observing a CancellationToken. |
|
WaitAsync(Int32) | Asynchronously waits to enter the SemaphoreSlim, using a 32-bit signed integer to measure the time interval. |
|
WaitAsync(TimeSpan) | Asynchronously waits to enter the SemaphoreSlim, using a TimeSpan to measure the time interval. |
|
WaitAsync(Int32, CancellationToken) | Asynchronously waits to enter the SemaphoreSlim, using a 32-bit signed integer to measure the time interval, while observing a CancellationToken. |
|
WaitAsync(TimeSpan, CancellationToken) | Asynchronously waits to enter the SemaphoreSlim, using a TimeSpan to measure the time interval, while observing a CancellationToken. |