Occurs when a job is about to start.
This event will occur when RunJob or RunJobAsync.
To abort pending jobs in a multi-threaded application using DocumentConverter, you subscribe to this event and set the value of Status to DocumentConverterJobStatus.Abort. You can also examine Job and only abort certain jobs depending on your application logic.
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.
For an example, refer to RunJob and RunJobAsync.
Parameter | Type | Description |
---|---|---|
sender | object | The source of the event. |
e | DocumentConverterJobEventArgs | The event data. |
Products |
Support |
Feedback: JobStarted Event (DocumentConverterJobs) - Leadtools.Documents.Converters |
Introduction |
Help Version 19.0.2017.6.6
|