SemaphoreSlim.WaitAsync Method

.NET Framework (current version)
 

Asynchronously waits to enter the SemaphoreSlim.

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

NameDescription
System_CAPS_pubmethodWaitAsync()

Asynchronously waits to enter the SemaphoreSlim.

System_CAPS_pubmethodWaitAsync(CancellationToken)

Asynchronously waits to enter the SemaphoreSlim, while observing a CancellationToken.

System_CAPS_pubmethodWaitAsync(Int32)

Asynchronously waits to enter the SemaphoreSlim, using a 32-bit signed integer to measure the time interval.

System_CAPS_pubmethodWaitAsync(Int32, CancellationToken)

Asynchronously waits to enter the SemaphoreSlim, using a 32-bit signed integer to measure the time interval, while observing a CancellationToken.

System_CAPS_pubmethodWaitAsync(TimeSpan)

Asynchronously waits to enter the SemaphoreSlim, using a TimeSpan to measure the time interval.

System_CAPS_pubmethodWaitAsync(TimeSpan, CancellationToken)

Asynchronously waits to enter the SemaphoreSlim, using a TimeSpan to measure the time interval, while observing a CancellationToken.

Return to top
Show: