Updates a timer-queue timer.
[Visual Basic] Overloads Public Function Change( _ ByVal dueTime As Integer, _ ByVal period As Integer _ ) As Boolean [C#] public bool Change( int dueTime, int period ); [C++] public: bool Change( int dueTime, int period ); [JScript] public function Change( dueTime : int, period : int ) : Boolean;
True if the function succeeds; otherwise, false.
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | If either dueTime or period is less than-1. |
Timer Class | Timer Members | System.Threading Namespace | Timer.Change Overload List