SemaphoreSlim Constructor
.NET Framework (current version)
Initializes a new instance of the SemaphoreSlim class.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | SemaphoreSlim(Int32) | Initializes a new instance of the SemaphoreSlim class, specifying the initial number of requests that can be granted concurrently. |
![]() | SemaphoreSlim(Int32, Int32) | Initializes a new instance of the SemaphoreSlim class, specifying the initial and maximum number of requests that can be granted concurrently. |
Show:
