System::Threading::Timer::Change 方法
Timer::Change(int64_t, int64_t) method
重新调度或取消计时器。
bool System::Threading::Timer::Change(int64_t dueTime, int64_t period)
| 参数 | 类型 | 描述 |
|---|---|---|
| dueTime | int64_t | Timeout 在下一次调用回调函数之前的时间(毫秒);负值即使计时器已被调度也会取消计时器。 |
| period | int64_t | Timeout 在回调函数连续调用之间的时间(毫秒);非正值表示计时器只会执行一次。 |
另见
- Class Timer
- Namespace System::Threading
- Library Aspose.Font for C++
Timer::Change(System::TimeSpan, System::TimeSpan) method
重新调度或取消计时器。
bool System::Threading::Timer::Change(System::TimeSpan dueTime, System::TimeSpan period)
| 参数 | 类型 | 描述 |
|---|---|---|
| dueTime | System::TimeSpan | Timeout 在下一次调用回调函数之前的时间;负值即使计时器已被调度也会取消计时器。 |
| period | System::TimeSpan | Timeout 在回调函数连续调用之间的时间;非正值表示计时器只会执行一次。 |
另见
- Class TimeSpan
- Class Timer
- Namespace System::Threading
- Library Aspose.Font for C++