Call this method to clean up all threads from the pool,
in that case the ThreadPool instance cannot be used anymore,
calls to functions of it will result in an ObjectDisposedException
| C# | Visual Basic | Visual C++ |
public void Dispose()
Public Sub Dispose
public: void Dispose()