Change()
Contents
[
Hide
]Timer::Change(int64_t, int64_t) method
Re-schedules or cancels timer.
bool System::Threading::Timer::Change(int64_t dueTime, int64_t period)
Arguments
Parameter | Type | Description |
---|---|---|
dueTime | int64_t | Timeout before next invocation of callback function, in milliseconds; negative values cancel timer even if it was scheduled. |
period | int64_t | Timeout between consequental invocations of callback function, in milliseconds; non-positive values mean that timer should only be executed once. |
Timer::Change(System::TimeSpan, System::TimeSpan) method
Re-schedules or cancels timer.
bool System::Threading::Timer::Change(System::TimeSpan dueTime, System::TimeSpan period)
Arguments
Parameter | Type | Description |
---|---|---|
dueTime | System::TimeSpan | Timeout before next invocation of callback function; negative values cancel timer even if it was scheduled. |
period | System::TimeSpan | Timeout between consequental invocations of callback function; non-positive values mean that timer should only be executed once. |
See Also
- Class Timer
- Class TimeSpan
- Namespace System::Threading
- Library Aspose.Slides