timer & xtd::timers::timer::enabled | ( | bool | value | ) |
Sets a value indicating whether the xtd::timers::timer should raise the xtd::timers::timer::elapsed event.
value | true if the xtd::timers::timer should raise the xtd::timers::timer::elapsed event; otherwise, false. The default is false. |
xtd::object_closed_exception | This property cannot be set because the timer has been closed. |
xtd::argument_exception | The xtd::timers::timer::interval property was set to a value greater than xtd::int32_object::max_value before the timer was enabled. |