Altaxo user manual and class reference
Altaxo user manual and class reference
Altaxo class reference
Altaxo Namespaces
Altaxo.Main Namespaces
Altaxo.Main.Services
TimerQueue Class
TimerQueue Methods
AddOrUpdate Method
Contains Method
Dispose Method
TryAdd Method
TryRemove Method
TryUpdateTime Method
Timer
Queue
Try
Add Method
Enqueues an item in the timer queue.
Namespace:
Altaxo.Main.Services
Assembly:
AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
Copy
public
bool
TryAdd
(
Object
token
,
TimeSpan
time
,
Action
<
Object
,
TimeSpan
>
action
)
Parameters
token
Object
The token identifying the queued item.
time
TimeSpan
The time when to trigger the action.
action
Action
Object
,
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
true
if the item was added; otherwise,
false
.
Implements
ITimerQueue
TryAdd(Object, TimeSpan, Action
Object, TimeSpan
)
See Also
Reference
TimerQueue Class
Altaxo.Main.Services Namespace
Altaxo can be downloaded from
SourceForge
. Source code available on
Github
.
(C) Dr. Dirk Lellinger and all contributors to the source code 2002 -
Send comments on this topic to
dlellinger@users.sourceforge.net