Error processing SSI file
LEADTOOLS Job Processor (Leadtools.Services.JobProcessor.DataContracts assembly)

Show in webframe

Reason Property






Gets or sets the reason this job should be aborted.
Syntax
public string Reason {get; set;}
'Declaration
 
Public Property Reason As String
'Usage
 
Dim instance As AbortJobRequest
Dim value As String
 
instance.Reason = value
 
value = instance.Reason

            

            
public:
property String^ Reason {
   String^ get();
   void set (    String^ value);
}

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.
Example
For an example, refer to Leadtools.Services.JobProcessor.ServiceContracts.IJobService.AbortJob(Leadtools.Services.JobProcessor.DataContracts.AbortJobRequest).
Requirements

Target Platforms

See Also

Reference

AbortJobRequest Class
AbortJobRequest Members
SetAbortedStatus Method
UpdatePercentage Method
AbortJob Method

Error processing SSI file