←Select platform

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

Leadtools.Services.JobProcessor.DataContracts Assembly