SchedulingHelperIsExternalTaskTooLate Method |
Returns true if externally handled task did not execute for more than certain amount of times.
Namespace: CMS.SchedulerAssembly: CMS.Scheduler (in CMS.Scheduler.dll) Version: 13.0.131
Syntax 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:
BooleanSee Also