Share via


JobState Enumeration

Specifies the status of a queue job.

Namespace:  [QueueSystem Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/QueueSystem.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/QueueSystem.asmx?wsdl

Syntax

'Declaration
<SerializableAttribute> _
Public Enumeration JobState
'Usage
Dim instance As JobState
[SerializableAttribute]
public enum JobState

Members

Member name Description
Unknown Value=0. Queue job unknown.
ReadyForProcessing Value=1. Queue job ready for processing.
SendIncomplete Value=2. Queue job send incomplete.
Processing Value=3. Queue job processing.
Success Value=4. Queue job completed successfully.
Failed Value=5. Queue job failed. Unfinished jobs with the same correlation are blocked.
FailedNotBlocking Value=6. Queue job failed. Unfinished jobs with the same correlation are not blocked.
ProcessingDeferred Value=7. Queue job processing deferred.
CorrelationBlocked Value=8. Queue job correlation blocked; the job is not processed.
Canceled Value=9. Queue job canceled.
OnHold Value=10. Queue job on hold.
Sleeping Value=11. Queue job sleeping.
ReadyForLaunch Value=12. Queue job ready for launch.
LastState Value=13. Queue job last state.

Remarks

Note

The Microsoft.Office.Project.Server.Library namespace also includes the QueueConstants.JobState type.

See Also

Reference

QueueSystem Web Service

Other Resources

How to: Use the QueueSystem Web Service