TimerItem(TimerWheel, TimeSpan) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the TimerItem class.
public:
TimerItem(Microsoft::Rtc::Signaling::TimerWheel ^ timerWheel, TimeSpan timeSpan);
public TimerItem (Microsoft.Rtc.Signaling.TimerWheel timerWheel, TimeSpan timeSpan);
new Microsoft.Rtc.Signaling.TimerItem : Microsoft.Rtc.Signaling.TimerWheel * TimeSpan -> Microsoft.Rtc.Signaling.TimerItem
Parameters
- timerWheel
- TimerWheel
The timer wheel associated with this item.
- timeSpan
- TimeSpan
The time span indicating when the timer will expire from now.
Exceptions
Thrown when the timer wheel argument is null.
Thrown when the time span is out of range. The maximum allowed value for a timer span is 65535 seconds (approx 18 hrs).