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 [C#] public abstract class WaitHandle : MarshalByRefObject, IDisposable [C++] public __gc __abstract class WaitHandle : public MarshalByRefObject, IDisposable [JScript] public abstract class WaitHandle extends MarshalByRefObject implements IDisposable
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.
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)