Troubleshooting Exceptions: System.DuplicateWaitObjectException
Aexception is thrown if the array of objects passed to or contains any duplicate operating system handles.
- Make sure the WaitHandle objects passed to WaitAll or WaitAny are unique.
A WaitHandle array cannot contain multiple references to the same object.
The Common Language Runtime (CLR) provides a thread-synchronization mechanism based on synchronization objects waiting for execution in an array of WaitHandle objects.