Returns a synchronized (thread-safe) wrapper for the specified Hashtable.
- table
- The Hashtable to synchronize.
A synchronized (thread-safe) wrapper for table.
Type Reason ArgumentNullException table is null.
This method returns a new Hashtable instance that contains values equal to the values of table , and provides synchronized access to those values.
If more than one thread is to write to a Hashtable concurrently, all write operations are required to be done through this wrapper.