Aborts all asynchronous running and pending jobs
public void AbortAllJobs()
Public Sub AbortAllJobs()
public void abortAllJobs()
Call this method to cause all running and pending jobs started with RunJobAsync to gracefully abort. Notice that this method will only triggers the abortion operation and returns immediately. You must still add synchronization code if your application logic needs to be informed when all jobs are completed/aborted. The JobCompleted event will occur for each job started with RunJobAsync but with AbortAllJobs being triggered, the DocumentConverterJob.Status value of each will be set to DocumentConverterJobStatus.Aborted.
For an example, refer to RunJobAsync.