This documentation is archived and is not being maintained.

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.

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.

Show: