Dela via


HealthEvent.IsExpired Property

Definition

Gets a value that indicates whether the health event has expired.

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

Property Value

true if the health event has expired; false if the health event was not expired at the time the health store evaluated the query.

Remarks

An event can be expired only if RemoveWhenExpired is false. Otherwise, the event is not returned by query and is removed from the store.

Applies to