ContextSwitchIn.IsKnownActualValue Property

Definition

Gets a value that indicates whether data about the thread switching in is based on an actual value rather than a planned value.

public bool IsKnownActualValue { get; }
member this.IsKnownActualValue : bool
Public ReadOnly Property IsKnownActualValue As Boolean

Property Value

Remarks

When this value is true, data in this structure is is based on the thread that actually switched in.

When this value is false, data in this structure is based on the thread that is planned to be switched in at the time the event is logged, but occasionally a last-moment change results in another thread actually switching in instead, in which case other property values are not accurate.

Specifically, the following property values may not be accurate when this property is false:

When this value is false, IsWaitTimeKnownActualValue will also be false.

This value is false for the last compact context switch event from a processor (and ThreadId is not present).

Applies to