timer & xtd::timers::timer::interval | ( | double | value | ) |
Sets the interval, expressed in milliseconds, at which to raise the xtd::timers::timer::elapsed event.
value | The time, in milliseconds, between xtd::timers::timer::elapsed events. The value must be greater than zero, and less than or equal to xtd::int32_object::max_value. The default is 100 milliseconds. |
xtd::argument_exception | The interval is less than or equal to zero. -or The interval is greater than xtd::int32_object::max_value. |