TimerItem.Reset Method (TimeSpan)
Resets the timer by rescheduling the item for the new period of time specified.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub Reset ( _
newTimerSpan As TimeSpan _
)
'Usage
Dim instance As TimerItem
Dim newTimerSpan As TimeSpan
instance.Reset(newTimerSpan)
public void Reset(
TimeSpan newTimerSpan
)
Parameters
- newTimerSpan
Type: System.TimeSpan
The new timer span.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when the interval is 0 or more than UInt16.MaxValue seconds. |