SemaphoreSlim.Dispose Method ()
Releases all resources used by the current instance of the SemaphoreSlim class.
Assembly: mscorlib (in mscorlib.dll)
Call Dispose when you are finished using the SemaphoreSlim. The Dispose method leaves the SemaphoreSlim in an unusable state. After calling Dispose, you must release all references to the SemaphoreSlim so the garbage collector can reclaim the memory that the SemaphoreSlim was occupying.
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