ContextSwitchOut.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 the thread switching out is in the Waiting state.
public Nullable<Microsoft.Windows.EventTracing.Cpu.KernelWaitReason> WaitReason { get; }
member this.WaitReason : Nullable<Microsoft.Windows.EventTracing.Cpu.KernelWaitReason>
Public ReadOnly Property WaitReason As Nullable(Of KernelWaitReason)
Property Value
Remarks
This value is not present unless the state of the thread switching out is Waiting.
Consequently, this value is not present when the thread switching out is the idle thread.