SemaphoreSlim Constructor (Int32, Int32)
Initializes a new instance of the SemaphoreSlim class, specifying the initial and maximum number of requests that can be granted concurrently.
Assembly: mscorlib (in mscorlib.dll)
initialCount is less than 0, or initialCount is greater than maxCount, or maxCount is equal to or less than 0.
Available since 8
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Available since 8.1