←Select platform

JobToken Property

Summary

Job token associated with this job.

Syntax
C#
VB
C++
public string JobToken { get; set; } 
Public Property JobToken() As String 
   Get 
   Set 
public:  
   property String^ JobToken 
   { 
      String^ get() 
      void set(String^ value) 
   } 

Property Value

Job token associated with this job. The default value is null.

Remarks

The UserToken and JobToken properties must be set by the application, prior to running the job, and combining them to create a unique string. Internally, the runner will use UserToken and JobToken as the Region and Key of the cache item added to the cache.

In normal cases, the UserToken can be set to the user name of the application and used for all the jobs submitted by this user. While JobToken should be a unique identifier for each job, usually set to a GUID.

UserToken and JobToken will then be passed by the application to the StatusJobDataRunner.QueryJobStatus method to obtain the latest status of the job or to abort it with StatusJobDataRunner.AbortJob.

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