Specifies the reason a thread is waiting.
[Visual Basic] Public Enum ThreadWaitReason [C#] public enum ThreadWaitReason [C++] public enum ThreadWaitReason
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
Member Name | Description |
---|---|
EventPairHigh | Thread is waiting for event pair high. |
EventPairLow | Thread is waiting for event pair low. |
ExcecutionDelay | Thread execution is delayed. |
Executive | Thread is waiting for the scheduler. |
FreePage | Thread is waiting for a free virtual memory page. |
LpcReceive | Thread is waiting for a local procedure call to arrive. |
LpcReply | Thread is waiting for reply to a local procedure call to arrive. |
PageIn | Thread is waiting for a virtual memory page to arrive in memory. |
PageOut | Thread is waiting for a virtual memory page to be written to disk. |
Suspended | Thread execution is suspended. |
SystemAllocation | Thread is waiting for a system allocation. |
Unknown | Thread is waiting for an unknown reason. |
UserRequest | Thread is waiting for a user request. |
VirtualMemory | Thread is waiting for virtual memory. |
Namespace: System.Diagnostics
Assembly: System.Diagnostics.dll