Timer.ActiveCount Property

Definition

Gets the number of timers that are currently active. An active timer is registered to tick at some point in the future, and has not yet been canceled.

C#
public static long ActiveCount { get; }

Property Value

The number of timers that are currently active.

Applies to

Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9