SemaphoreSlim Methods
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | Dispose() | Releases all resources used by the current instance of the SemaphoreSlim class. |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the SemaphoreSlim, and optionally releases the managed resources. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | Release() | Releases the SemaphoreSlim object once. |
![]() | Release(Int32) | Releases the SemaphoreSlim object a specified number of times. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | Wait() | Blocks the current thread until it can enter the SemaphoreSlim. |
![]() | Wait(CancellationToken) | Blocks the current thread until it can enter the SemaphoreSlim, while observing a CancellationToken. |
![]() | Wait(Int32) | Blocks the current thread until it can enter the SemaphoreSlim, using a 32-bit signed integer that specifies the timeout. |
![]() | Wait(Int32, CancellationToken) | Blocks the current thread until it can enter the SemaphoreSlim, using a 32-bit signed integer that specifies the timeout, while observing a CancellationToken. |
![]() | Wait(TimeSpan) | Blocks the current thread until it can enter the SemaphoreSlim, using a TimeSpan to specify the timeout. |
![]() | Wait(TimeSpan, CancellationToken) | Blocks the current thread until it can enter the SemaphoreSlim, using a TimeSpan that specifies the timeout, while observing a CancellationToken. |
![]() | 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(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) | Asynchronously waits to enter the SemaphoreSlim, using a TimeSpan to measure the time interval. |
![]() | WaitAsync(TimeSpan, CancellationToken) | Asynchronously waits to enter the SemaphoreSlim, using a TimeSpan to measure the time interval, while observing a CancellationToken. |

