Enumeration is, by definition, not thread-safe. Use a lock on the SyncRoot
to synchronize the entire enumeration process.
Namespace: Iesi.Collections.GenericAssembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)
Syntax
C# |
---|
public override sealed IEnumerator<T> GetEnumerator() |
Visual Basic |
---|
Public Overrides NotOverridable Function GetEnumerator As IEnumerator(Of T) |
Visual C++ |
---|
public: virtual IEnumerator<T>^ GetEnumerator() override sealed |
Return Value
[Missing <returns> documentation for "M:Iesi.Collections.Generic.SynchronizedSet`1.GetEnumerator"]