Click or drag to resize
SchedulingHelperIsExternalTaskTooLate Method
Returns true if externally handled task did not execute for more than certain amount of times.

Namespace: CMS.Scheduler
Assembly: CMS.Scheduler (in CMS.Scheduler.dll) Version: 12.0.0
Syntax
C#
public static bool IsExternalTaskTooLate(
	TaskInfo taskInfo,
	int timesToBeTooLate,
	Nullable<DateTime> currentTime = null
)

Parameters

taskInfo
Type: CMS.SchedulerTaskInfo
Information about the task
timesToBeTooLate
Type: SystemInt32
How many scheduler intervals must not the task run before it is considered too long
currentTime (Optional)
Type: SystemNullableDateTime
Date and time to resolve against, if null DateTime.Now is used

Return Value

Type: Boolean
See Also