changes the start time and the interval between method invocations for a timer, using 32-bit signed integers to measure time intervals.
due_time | The amount of time to delay before callback is invoked, in milliseconds. Specify Timeout::Infinite to prevent the timer from starting. Specify zero (0) to start the timer immediately. |
period | The time interval between invocations of callback, in milliseconds. Specify Timeout::Infinite to disable periodic signaling. |
xtd::argument_out_of_range_exception | The due_time or period parameter is negative and is not equal to Timeout::Infinite. |