Enqueues an item in the timer queue.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public bool TryAdd(
Object token,
TimeSpan time,
Action<Object, TimeSpan> action
)
Parameters
- token Object
[Missing <param name="token"/> documentation for "M:Altaxo.Main.Services.TimerQueue.TryAdd(System.Object,System.TimeSpan,System.Action{System.Object,System.TimeSpan})"]
- time TimeSpan
- The time when to trigger the action.
- action ActionObject, TimeSpan
- The action. Can be a single or a multicast delegate. First argument is the token for the timer queue, second argument is the due time.
Return Value
Boolean[Missing <returns> documentation for "M:Altaxo.Main.Services.TimerQueue.TryAdd(System.Object,System.TimeSpan,System.Action{System.Object,System.TimeSpan})"]
Implements
ITimerQueueTryAdd(Object, TimeSpan, ActionObject, TimeSpan)See Also