RecurringTaskSchedulerAddTask Method |
Adds a task to be executed on a recurring basis.
Namespace:
AGI.Foundation.Infrastructure.Threading
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public void AddTask(
Duration period,
RecurringTask task
)
Public Sub AddTask (
period As Duration,
task As RecurringTask
)
public:
void AddTask(
Duration period,
RecurringTask^ task
)
member AddTask :
period : Duration *
task : RecurringTask -> unit
Parameters
- period
- Type: AGI.Foundation.TimeDuration
The period at which to execute the task. - task
- Type: AGI.Foundation.Infrastructure.ThreadingRecurringTask
The task to add.
Exceptions See Also