LEADTOOLS Cloud (Leadtools.Services.Cloud.DataContracts assembly)
LEAD Technologies, Inc

Abort Property






Gets or sets a value indicating if a job was marked to abort.
Syntax
public Abort Abort {get; set;}
'Declaration
 
Public Property Abort As Abort
'Usage
 
Dim instance As JobInformation
Dim value As Abort
 
instance.Abort = value
 
value = instance.Abort
public Abort Abort {get; set;}
 get_Abort();
set_Abort(value);
public:
property Abort^ Abort {
   Abort^ get();
   void set (    Abort^ value);
}

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.Cloud.ServiceContracts.IJobService.AbortJob(Leadtools.Services.Cloud.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 the SetAbortedStatus method from the worker assembly. For more information, refer to Creating Cloud Worker Assemblies.
Example
For an example, refer to IJobService.GetJobInformation.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

JobInformation Class
JobInformation Members
Programming with Leadtools Cloud SDK
Creating Cloud Worker Assemblies
Understanding The LEADTOOLS Cloud Database
GetJobInformation Method
SetAbortedStatus Method
AbortJob Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.