Wait Method
From Task Parallel System.Threading
|
|
| .NET Framework Class Library |
| SemaphoreSlim..::.Wait Method |
| SemaphoreSlim Class See Also Send Feedback |
Overload List
| Name | Description | |
|---|---|---|
| Wait()()() |
Blocks the current thread until it can enter the SemaphoreSlim.
| |
| Wait(Int32) |
Blocks the current thread until it can enter the SemaphoreSlim, using a 32-bit
signed integer to measure the time interval.
| |
| Wait(CancellationToken) |
Blocks the current thread until it can enter the SemaphoreSlim, while observing a
CancellationToken.
| |
| Wait(TimeSpan) |
Blocks the current thread until it can enter the SemaphoreSlim, using a TimeSpan to measure the time interval.
| |
| Wait(Int32, CancellationToken) |
Blocks the current thread until it can enter the SemaphoreSlim,
using a 32-bit signed integer to measure the time interval,
while observing a CancellationToken.
| |
| Wait(TimeSpan, CancellationToken) |
Blocks the current thread until it can enter the SemaphoreSlim, using a TimeSpan to measure the time interval, while observing a CancellationToken.
|