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!

Dictionary.Synchronized

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

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

Parameters

table
The Dictionary to synchronize.

Return Value

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

Exceptions

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

Remarks

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

See Also

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