Click or drag to resize

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: 19.1.398.0 (19.1.398.0)
Syntax
public void AddTask(
	Duration period,
	RecurringTask task
)

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
ExceptionCondition
ArgumentNullExceptionThrown if task is .
See Also