←Select platform

AbortAllJobs Method

Summary

Aborts all asynchronous running and pending jobs

Syntax
C#
VB
C++
Java
public void AbortAllJobs() 
Public Sub AbortAllJobs() 
public:  
   void AbortAllJobs() 
public void abortAllJobs() 

Remarks

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.

Example

For an example, refer to RunJobAsync.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Converter Assembly