Share via


PSWorkflowService.CheckQueueProcessed Method

Returns the current queue completion state of the specified queue job.

Namespace:  Microsoft.Office.Project.Server.Workflow
Assembly:  Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)

Syntax

'Declaration
Public Function CheckQueueProcessed ( _
    workflowContext As ProjectWorkflowContext, _
    jobUid As Guid _
) As QueueConstants.JobState
'Usage
Dim instance As PSWorkflowService
Dim workflowContext As ProjectWorkflowContext
Dim jobUid As Guid
Dim returnValue As QueueConstants.JobState

returnValue = instance.CheckQueueProcessed(workflowContext, _
    jobUid)
public QueueConstants.JobState CheckQueueProcessed(
    ProjectWorkflowContext workflowContext,
    Guid jobUid
)

Parameters

Return Value

Type: Microsoft.Office.Project.Server.Library.QueueConstants.JobState
The job completion state for the specified job.

Implements

IPSWorkflowService.CheckQueueProcessed(ProjectWorkflowContext, Guid)

Remarks

The job completion state can be used to determine whether the queue job has completed processing.

See Also

Reference

PSWorkflowService Class

PSWorkflowService Members

Microsoft.Office.Project.Server.Workflow Namespace