Share via


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

Exceptions

Exception Condition
ArgumentOutOfRangeException

Thrown when the interval is 0 or more than UInt16.MaxValue seconds.

See Also

Reference

TimerItem Class

TimerItem Members

Reset Overload

Microsoft.Rtc.Signaling Namespace