ProcessThread.WaitReason Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the reason that the thread is waiting.
public:
property System::Diagnostics::ThreadWaitReason WaitReason { System::Diagnostics::ThreadWaitReason get(); };
public System.Diagnostics.ThreadWaitReason WaitReason { get; }
member this.WaitReason : System.Diagnostics.ThreadWaitReason
Public ReadOnly Property WaitReason As ThreadWaitReason
Property Value
A ThreadWaitReason representing the reason that the thread is in the wait state.
Exceptions
The thread is not in the wait state.
The process is on a remote computer.
Remarks
The WaitReason property is valid only when the ThreadState is Wait. Therefore, check the ThreadState value before you get the WaitReason property.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για