Troubleshooting Exceptions: System.DuplicateWaitObjectException
A DuplicateWaitObjectException exception is thrown if the array of WaitHandle objects passed to WaitAll or WaitAny contains any duplicate operating system handles.
Associated Tips
- Make sure the WaitHandle objects passed to WaitAll or WaitAny are unique.
A WaitHandle array cannot contain multiple references to the same object.
Remarks
The Common Language Runtime (CLR) provides a thread-synchronization mechanism based on synchronization objects waiting for execution in an array of WaitHandle objects.
See Also
Tasks
How to: Find Out More About an Exception with the Exception Assistant