NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Hashtable.Synchronized

Returns a synchronized (thread-safe) wrapper for the Hashtable.

[Visual Basic]
Public Shared Function Synchronized( _
   ByVal table As Hashtable _
) As Hashtable
[C#]
public static Hashtable Synchronized(
   Hashtable table
);
[C++]
public: static Hashtable* Synchronized(
   Hashtable* table
);
[JScript]
public static function Synchronized(
   table : Hashtable
) : Hashtable;

Parameters

table
The Hashtable to synchronize.

Return Value

A synchronized (thread-safe) wrapper for the Hashtable.

Exceptions

Exception Type Condition
ArgumentNullException table is a null reference (in Visual Basic Nothing).

Remarks

To guarantee the thread-safety of the Hashtable, all operations must be done through this wrapper only.

See Also

Hashtable Class | Hashtable Members | System.Collections Namespace | IsSynchronized | SyncRoot