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