Protected ReadonlyelapsedEvent that is triggered on each elapsed interval of the timer.
ProtectedindexIndex representing the number of times the timer has elapsed.
ProtectedintervalThe time interval between each execution of the timer.
Protected OptionallastIndicates whether the next timer event should be scheduled before triggering the current one.
Protected OptionalstartProtected OptionaltimeoutIDIdentifier of the currently scheduled timeout.
Gets an event that is triggered on each elapsed interval of the timer.
Gets the number of times the timer has been invoked. This property reflects the total count of elapsed intervals, indicating how many times the timer's 'Elapsed' event has been triggered.
Gets a value indicating whether the timer is currently running.
ProtectedtriggerProtected StaticscheduleSchedules the next timer event based on the timer's properties.
The timer instance.
Represents a timer that can be used to schedule recurring tasks with a specified time interval.