Leadtools.Forms.Ocr Namespace > IOcrAutoRecognizeManager Interface : AbortAllJobs Method |
void AbortAllJobs()
'Declaration Sub AbortAllJobs()
'Usage Dim instance As IOcrAutoRecognizeManager instance.AbortAllJobs()
void AbortAllJobs()
function Leadtools.Forms.Ocr.IOcrAutoRecognizeManager.AbortAllJobs()
void AbortAllJobs();
Call this method to cause all running and pending jobs started with Run, RunJob or RunJobAsync to gracefully abort. Notice that this method will only triggers the abortion operation and returns immediatly. You must still add synchronization code if your application logic needs to be informed when all jobs are completed/aborted. For a complete example on how to accomplish this, refer to RunJob.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2