SemaphoreSlim Constructor

Task Parallel System.Threading

Overload List

  NameDescription
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.

See Also