CTimer(CTimerCallbackFunction, Object, Int64, Int64) Constructor |
Constructor for the CTimer
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic CTimer(
CTimerCallbackFunction callbackFunction,
Object? callbackObject,
long dueTime,
long repeatPeriod
)
Parameters
- callbackFunction CTimerCallbackFunction
- Timer Callback Function to invoke
- callbackObject Object
- Object to pass to the function
- dueTime Int64
- The amount of time to delay before callback is invoked, in milliseconds.
Specify Timeout.Infinite to prevent the timer from starting. Specify zero (0) to start the timer immediately.
- repeatPeriod Int64
- The time interval between invocations of callback, in milliseconds. Specify Timeout.Infinite to disable periodic signaling.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also