Click or drag to resize

RecurringTaskSchedulerGetTaskData Method

Gets a copy of the performance metrics associated with the given recurring task.

Namespace:  AGI.Foundation.Infrastructure.Threading
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public RecurringTaskStatistics GetTaskData(
	RecurringTask task
)

Parameters

task
Type: AGI.Foundation.Infrastructure.ThreadingRecurringTask
The task to retrieve data for.

Return Value

Type: RecurringTaskStatistics
A copy of the performance metrics associated with the given recurring task.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if task is .
ArgumentExceptionThrown if task was never added to the scheduler.
See Also