Click or drag to resize

PerformanceCounterUnsubscribed Event

Occurs when the last user unsubscribes from data sampled from values belonging to this counter.

Namespace:  Demo3D.Utilities.Performance
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 17.00.05
Syntax
C#
public event Action<PerformanceCounter> Unsubscribed

Value

Type: SystemActionPerformanceCounter
Remarks
Logging of data should be very cheap. Therefore normally counter data is logged all the time, regardless of whether a chart has subscribed to the logged data. If however, the collection or computation of data is expensive, then this event (and Subscribed) can be used to switch data collection on/off.
See Also