Edit

Share via


ContextSwitchEvent.SwitchInThreadWaitTime Property

Definition

Gets the wait time for the thread currently planned to be switched in.

public Nullable<TimeSpan> SwitchInThreadWaitTime { get; }
member this.SwitchInThreadWaitTime : Nullable<TimeSpan>
Public ReadOnly Property SwitchInThreadWaitTime As Nullable(Of TimeSpan)

Property Value

Remarks

The SwitchInThread used by this event is planned, but occasionally a last-moment change results in another thread actually switching in instead, in which case this property is not accurate.

This value is not present in some older versions of the context switch event.

Applies to