ContextSwitchEvent.SwitchInThreadQuantum Property

Definition

Gets the quantum for the thread currently planned to be switched in.

public Nullable<int> SwitchInThreadQuantum { get; }
member this.SwitchInThreadQuantum : Nullable<int>
Public ReadOnly Property SwitchInThreadQuantum As Nullable(Of Integer)

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 only present in the oldest version of the context switch event.

Applies to