Edit

Share via


TimerItem(TimerWheel, TimeSpan) Constructor

Definition

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).

Applies to