Initializes a new instance of the TimerItem class.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Sub 
New ( _
	
timerWheel 
As 
TimerWheel,
_
	
timeSpan 
As 
TimeSpan _
)
C#
public 
TimerItem(
	
TimerWheel 
timerWheel,
	
TimeSpan 
timeSpan
)
Visual C++
public:
TimerItem(
	
TimerWheel^ 
timerWheel, 
	
TimeSpan 
timeSpan
)
JavaScript
Microsoft.Rtc.Signaling.TimerItem =

function(
timerWheel, 
timeSpan);

Parameters

timerWheel
Type: Microsoft.Rtc.Signaling . . :: . TimerWheel
The timer wheel associated with this item.
timeSpan
Type: TimeSpan
The time span indicating when the timer will expire from now.

Exceptions

Exception Condition
ArgumentNullException Thrown when the timer wheel argument is null.
ArgumentOutOfRangeException Thrown when the time span is out of range. The maximum allowed value for a timer span is 65535 seconds (approx 18 hrs).

See Also