The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WaitHandle Class

Encapsulates operating system-specific objects that wait for exclusive access to shared resources.

For a list of all members of this type, see WaitHandle Members.


[Visual Basic]
MustInherit Public Class WaitHandle
   Inherits MarshalByRefObject
   Implements IDisposable
public abstract class WaitHandle : MarshalByRefObject, IDisposable
public __gc __abstract class WaitHandle : public
   MarshalByRefObject, IDisposable
public abstract class WaitHandle extends MarshalByRefObject
   implements IDisposable

Thread Safety

This type is safe for multithreaded operations.


This class is typically used as a base class for synchronization objects. Classes derived from WaitHandle define a signaling mechanism to indicate taking or releasing exclusive access to a shared resource, but use the inherited WaitHandle methods to block while waiting for access to shared resources.

Use the static methods of this class to block a thread until one or more synchronization objects receive a signal.


Namespace: System.Threading

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

WaitHandle Members | System.Threading Namespace | WaitHandle