←Select platform

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Services.JobProcessor.DataContracts Assembly