JobState enumeration
Collapse the table of content
Expand the table of content

JobState enumeration

Office 2013 and later

The Project Server queue job state specifies the status of a queue job.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Public Enumeration JobState
Dim instance As JobState

Member nameDescription
UnknownValue=0. The queue job is unknown.
ReadyForProcessingValue=1. The queue job is ready for processing.
SendIncompleteValue=2. The message sent to the queue is incomplete.
ProcessingValue=3. The queue job is processing.
SuccessValue=4. The queue job completed successfully.
FailedValue=5. The queue job failed. Unfinished jobs with the same correlation are blocked.
FailedNotBlockingValue=6. The queue job failed. Unfinished jobs with the same correlation are not blocked.
ProcessingDeferredValue=7. The queue job processing is deferred.
CorrelationBlockedValue=8. The queue job correlation is blocked; the job is not processed.
CanceledValue=9. The queue job is canceled.
OnHoldValue=10. The queue job is on hold.
SleepingValue=11. The queue job is sleeping.
ReadyForLaunchValue=12. The queue job is ready for launch.
LastStateValue=13. This is the last state of the queue job (internal use only).

The JobState enumeration in the CSOM is equivalent to QueueConstants.JobState in the Microsoft.Office.Project.Server.Library namespace. The JobState constants can be used with the QueueJob.JobState property.

© 2016 Microsoft