TaskContextReportProgress Method |
Namespace: Ookii.Jumbo.Jet
Call this method periodically if your task is executing a long-running operation that doesn't cause the task's progress to be changed (no input data is read). This will ensure the job server doesn't think the task is hung.
Calling this method while your task is stuck in an infinite loop will cause the job to hang indefinitely.
If it's possible for your task to calculate progress for the long-running operation, consider implementing IHasAdditionalProgress instead of calling this method.