CTimer(CTimerCallbackFunction, Object, 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
)
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.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also