←Select platform

AbortAllJobs Method

Summary

Aborts all asynchronous running and pending jobs

Syntax

C#
VB
Java
C++
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.Converters Assembly