SemaphoreSlim.Dispose Method (Boolean)
Releases the unmanaged resources used by the SemaphoreSlim, and optionally releases the managed resources.
Assembly: mscorlib (in mscorlib.dll)
Unlike most of the members of SemaphoreSlim, is not thread-safe and may not be used concurrently with other members of this instance.
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