Occurs when a job is completed or aborted.
This event will occur when RunJob or RunJobAsync is finished running.
You can use this event to keep track of the number of jobs pending running. You can also examine DocumentConverterJobEventArgs.Job to get information on whether job finished successfully and get error status if any. RunJob example shows complete source code of how to easily accomplish these tasks in your application.
The JobStarted will occur exactly once per job. DocumentConverterJobEventArgs.IsPostOperation will always be false.
The JobCompleted event will always occur when a job is finished running whether the job is aborted or completed.
The JobStarted event occurs when a job is about to start.
For an example, refer to RunJob and RunJobAsync.
Parameter | Type | Description |
---|---|---|
sender | object | The source of the event. |
e | DocumentConverterJobEventArgs | The event data. |