Click or drag to resize

TaskContextReportProgress Method

Forces a progress report to be sent on the next progress interval.

Namespace:  Ookii.Jumbo.Jet
Assembly:  Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax
public void ReportProgress()
Remarks

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.

See Also