Share via


System.Threading Namespace

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides types that handle threading.

Classes

  Class Description
Public class AutoResetEvent Notifies a waiting thread that an event has occurred. This class cannot be inherited.
Public class Interlocked Provides atomic operations for variables that are shared by multiple threads.
Public class ManualResetEvent Notifies one or more waiting threads that an event has occurred. This class cannot be inherited.
Public class Monitor Provides a mechanism that synchronizes access to objects.
Public class Thread Creates and controls a thread, sets its priority, and gets its status.
Public class ThreadAbortException The exception that is thrown when a call is made to the Abort method. This class cannot be inherited.
Public class Timeout Contains constants that specify infinite time-out intervals. This class cannot be inherited.
Public class Timer Provides a mechanism for executing a method at specified intervals. This class cannot be inherited.
Public class WaitHandle Encapsulates operating system–specific objects that wait for exclusive access to shared resources.

Delegates

  Delegate Description
Public delegate ThreadStart Represents the method that executes on a Thread.
Public delegate TimerCallback Represents the method that handles calls from a Timer.

Enumerations

  Enumeration Description
Public enumeration ThreadPriority Specifies the scheduling priority of a Thread.
Public enumeration ThreadState Specifies the execution states of a Thread.