System::Threading::Timer::Change method
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)
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. |
See Also
- Class Timer
- Namespace System::Threading
- Library Aspose.PUB for C++
Timer::Change(System::TimeSpan, System::TimeSpan) method
Re-schedules or cancels timer.
bool System::Threading::Timer::Change(System::TimeSpan dueTime, System::TimeSpan period)
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 TimeSpan
- Class Timer
- Namespace System::Threading
- Library Aspose.PUB for C++