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)
| Member name | Description | |
|---|---|---|
| Unknown | Value=0. The queue job is unknown. | |
| ReadyForProcessing | Value=1. The queue job is ready for processing. | |
| SendIncomplete | Value=2. The message sent to the queue is incomplete. | |
| Processing | Value=3. The queue job is processing. | |
| Success | Value=4. The queue job completed successfully. | |
| Failed | Value=5. The queue job failed. Unfinished jobs with the same correlation are blocked. | |
| FailedNotBlocking | Value=6. The queue job failed. Unfinished jobs with the same correlation are not blocked. | |
| ProcessingDeferred | Value=7. The queue job processing is deferred. | |
| CorrelationBlocked | Value=8. The queue job correlation is blocked; the job is not processed. | |
| Canceled | Value=9. The queue job is canceled. | |
| OnHold | Value=10. The queue job is on hold. | |
| Sleeping | Value=11. The queue job is sleeping. | |
| ReadyForLaunch | Value=12. The queue job is ready for launch. | |
| LastState | Value=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.
Show: