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
- workflowContext
Type: Microsoft.Office.Project.Server.Library.ProjectWorkflowContext
Information that is related to the current instance of the workflow that is being processed.
- jobUid
Type: System.Guid
The GUID of the queue job.
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.