Share via


TimerItem Members

Include Protected Members
Include Inherited Members

Defines a timer item to set up a timer. When the timer expires, a supplied callback is called. The timer item needs access to a TimerWheel in which the timer item is managed.

The TimerItem type exposes the following members.

Constructors

  Name Description
Public method TimerItem Initializes a new instance of the TimerItem class.

Top

Properties

  Name Description
Public property IsStarted Gets the current timer item status.
Public property RemainingTime Gets the remaining time span for TimerItem before the TimerItem expires.
Public property TimerSpan Gets the timer span value.
Public property Wheel Gets the timer wheel.

Top

Methods

  Name Description
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method Reset() Resets the timer by rescheduling the item for a period of time equal to the original timer span.
Public method Reset(TimeSpan) Resets the timer by rescheduling the item for the new period of time specified.
Public method Start Enables the timer item by setting the expiry time and adding the item to the queue.
Public method Stop Disables the timer by removing the item from the timer queue and by resetting the expiry time.
Public method ToString (inherited from Object)

Top

Events

  Name Description
Public event Expired Raised when the item expires.

Top

See Also

Reference

TimerItem Class

Microsoft.Rtc.Signaling Namespace