Export (0) Print
Expand All
Expand Minimize

JobState enumeration

Office 2013

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 enum 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.

Community Additions

ADD
Show:
© 2014 Microsoft