Creates a timer associated with this context and a specified event queue
that expires with a specified delay.
This prevents the timer from being reclaimed by the garbage collector before it expires.
![](../icons/collapse_all.gif)
C# |
public LBMTimer scheduleTimer( long milliseconds, LBMTimerCallback cb, Object cbArg, LBMEventQueue lbmevq )
![](../icons/collapse_all.gif)
- milliseconds (Int64)
- Number of milliseconds until the timer expires
- cb (LBMTimerCallback)
- Callback implementing the LBMTimerCallback delegate interface
- cbArg (Object)
- Callback object passed as token to callback interface
- lbmevq (LBMEventQueue)
- Event queue with with which to associate this timer (the timer events will be posted to this event queue)
![](../icons/collapse_all.gif)
LBMTimer object
![](../icons/collapse_all.gif)
See createTimer(Int64) to create a timer that will be reclaimed by the
garbage collector in the normal manner once it goes out of scope.