The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ThreadLocal<T>::Dispose Method
.NET Framework (current version)
Releases the resources used by this ThreadLocal<T> instance.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | Dispose() | Releases all resources used by the current instance of the ThreadLocal<T> class. |
![]() | Dispose(Boolean) | Releases the resources used by this ThreadLocal<T> instance. |
Show:

