Returns a synchronized (thread-safe) wrapper for the StringTable.
[Visual Basic] Public Shared Function Synchronized( _ ByVal st As StringTable _ ) As StringTable [C#] public static StringTable Synchronized( StringTable st ); [C++] public: static StringTable* Synchronized( StringTable* st ); [JScript] public static function Synchronized( st : StringTable ) : StringTable;
A StringTable wrapper that is synchronized (thread-safe).
Exception Type | Condition |
---|---|
ArgumentNullException | st is a null reference (in Visual Basic Nothing). |
To guarantee the thread-safety of the StringTable, all operations must be done through this wrapper only.
StringTable Class | StringTable Members | System.Collections Namespace | SyncRoot | IsSynchronized