Returns the reason the associated thread is waiting, if any.
[Visual Basic] Public ReadOnly Property WaitReason As ThreadWaitReason [C#] public ThreadWaitReason WaitReason {get;} [C++] public: __property ThreadWaitReason get_WaitReason(); [JScript] public function get WaitReason() : ThreadWaitReason;
ProcessThread Class | ProcessThread Members | System.Diagnostics Namespace