April 12, 2014
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.