Reason Property

Summary

Gets or sets the reason this job should be aborted.

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

Property Value

A System.String that represents the reason this job should be aborted.

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 via 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.

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