TimerItem Constructor
Initializes a new instance of the [TimerItem] class.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
timerWheel As TimerWheel, _
timeSpan As TimeSpan _
)
'Usage
Dim timerWheel As TimerWheel
Dim timeSpan As TimeSpan
Dim instance As New TimerItem(timerWheel, _
timeSpan)
public TimerItem(
TimerWheel timerWheel,
TimeSpan timeSpan
)
Parameters
- timerWheel
Type: Microsoft.Rtc.Signaling..::..TimerWheel
The timer wheel associated with this item.
- timeSpan
Type: System..::..TimeSpan
The time span indicating when the timer expires from now.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the timer wheel argument is nullNothingnullptrunita null reference (Nothing in Visual Basic). |
ArgumentOutOfRangeException | Thrown when the time span is out of range. |