LEADTOOLS Cloud (Leadtools.Services.Cloud.DataContracts assembly)

ID Property (AbortJobRequest)

Show in webframe





Gets or sets the ID of a job to abort.
Syntax
public string ID {get; set;}
'Declaration
 
Public Property ID As String
'Usage
 
Dim instance As AbortJobRequest
Dim value As String
 
instance.ID = value
 
value = instance.ID

            

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

Property Value

A System.String that represents the ID of a job to abort.
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 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 Cloud Worker Assemblies

.
Example
For an example, refer to Leadtools.Services.Cloud.ServiceContracts.IJobService.AbortJob(Leadtools.Services.Cloud.DataContracts.AbortJobRequest).
Requirements

Target Platforms

See Also

Reference

AbortJobRequest Class
AbortJobRequest Members
SetAbortedStatus Method
UpdatePercentage Method
AbortJob Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.