←Select platform

JobToken Property

Summary

Job token associated with this job.

Syntax
C#
C++/CLI
Python
[DataMemberAttribute(Name="jobToken")] 
public string JobToken {get; set;} 
public:  
   [DataMemberAttribute(Name=L"jobToken")] 
   property String^ JobToken 
   { 
      String^ get() 
      void set(String^ value) 
   } 
JobToken # get and set (CompareJobData) 

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. They are combined 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. In contrast, the JobToken should be a unique identifier for each job, and is usually set to a GUID.

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

Requirements

Target Platforms

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

Leadtools.Document.Compare Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.