←Select platform

AbortJob Method

Summary

Aborts the specified job.

Syntax
C#
VB
C++
public static void AbortJob( 
   ObjectCache cache, 
   string userToken, 
   string jobToken 
) 
Public Shared Sub AbortJob( 
   ByVal cache As ObjectCache, 
   ByVal userToken As String, 
   ByVal jobToken As String 
) 
public:  
   static void AbortJob( 
      ObjectCache^ cache, 
      String^ userToken, 
      String^ jobToken 
   ) 

Parameters

cache

Cache containing the status data.

userToken

Value indicating the user token of the job.

jobToken

Value indicating the token of the job.

Remarks

AbortJob can be called at any time to abort the running job with the specified user and job token. If no such job was found, then this method will return.

After a job was aborted, the next call to QueryJobStatus will return a StatusJobData with the value of StatusJobData.JobStatus set to Aborted.

Example

For an example, refer to StatusJobDataRunner.

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