Editar

Compartilhar via


IContextSwitchOut.WaitReason Property

Definition

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.

Applies to