Abort Property

Summary

Gets or sets a value indicating if a job was marked to abort.

Syntax
C#
VB
C++
[DataMemberAttribute()] 
public Abort Abort { get; set; } 
  
Public Property Abort As Abort 
public: 
property Abort^ Abort { 
   Abort^ get(); 
   void set (    Abort^ ); 
} 

Property Value

A boolean indicating if a job is marked for aborting (true : Job is marked for aborting / false: Job is not marked for aborting).

Remarks

When calling Leadtools.Services.JobProcessor.ServiceContracts.IJobService.AbortJob(Leadtools.Services.JobProcessor.DataContracts.AbortJobRequest), the cMustAbort column for the specified job is set to 1. The worker assembly is notified to abort a job by calls to the UpdatePercentage method. The job is not actually aborted (job status is set to JobStatus.Aborted) until the worker processing this job calls the SetAbortedStatus method from the worker assembly. For more information, refer to Creating Job Processor Worker Assemblies.

Example

For an example, refer to IJobService.GetJobInformation.

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.Services.JobProcessor.DataContracts Assembly