DuplicateWaitObjectException Class
The exception that is thrown when an object appears more than once in an array of synchronization objects.
For a list of all members of this type, see DuplicateWaitObjectException Members.
System.Object
System.Exception
System.SystemException
System.ArgumentException
System.DuplicateWaitObjectException
[Visual Basic] <Serializable> Public Class DuplicateWaitObjectException Inherits ArgumentException [C#] [Serializable] public class DuplicateWaitObjectException : ArgumentException [C++] [Serializable] public __gc class DuplicateWaitObjectException : public ArgumentException [JScript] public Serializable class DuplicateWaitObjectException extends ArgumentException
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
The common language runtime provides a thread synchronization mechanism based on synchronization objects waiting for execution in an array of WaitHandle objects. If the array of WaitHandle objects passed to WaitAll or WaitAny contains any duplicate operating system handles, DuplicateWaitObjectException is thrown. For more information, see WaitHandle.
DuplicateWaitObjectException uses the HRESULT COR_E_DUPLICATEWAITOBJECT, which has the value 0x80131529.
For a list of initial property values for an instance of DuplicateWaitObjectException, see the DuplicateWaitObjectException constructors.
Requirements
Namespace: System
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)
See Also
DuplicateWaitObjectException Members | System Namespace | WaitHandle | Exception | Threading | Handling and Throwing Exceptions