ThreadWaitReason Enumeration
.NET Framework 4.5
Specifies the reason a thread is waiting.
Namespace: System.Diagnostics
Assembly: System (in System.dll)
| Member name | Description | |
|---|---|---|
| EventPairHigh | The thread is waiting for event pair high. | |
| EventPairLow | The thread is waiting for event pair low. | |
| ExecutionDelay | Thread execution is delayed. | |
| Executive | The thread is waiting for the scheduler. | |
| FreePage | The thread is waiting for a free virtual memory page. | |
| LpcReceive | The thread is waiting for a local procedure call to arrive. | |
| LpcReply | The thread is waiting for reply to a local procedure call to arrive. | |
| PageIn | The thread is waiting for a virtual memory page to arrive in memory. | |
| PageOut | The thread is waiting for a virtual memory page to be written to disk. | |
| Suspended | Thread execution is suspended. | |
| SystemAllocation | The thread is waiting for system allocation. | |
| Unknown | The thread is waiting for an unknown reason. | |
| UserRequest | The thread is waiting for a user request. | |
| VirtualMemory | The thread is waiting for the system to allocate virtual memory. |
The thread wait reason is only valid when the ThreadState is Wait.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.