IPSWorkflowService.CheckQueueProcessed Method
Returns the current queue completion state of the specified queue job.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
Function CheckQueueProcessed ( _
workflowContext As ProjectWorkflowContext, _
jobUid As Guid _
) As QueueConstants.JobState
'Usage
Dim instance As IPSWorkflowService
Dim workflowContext As ProjectWorkflowContext
Dim jobUid As Guid
Dim returnValue As QueueConstants.JobState
returnValue = instance.CheckQueueProcessed(workflowContext, _
jobUid)
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.
Remarks
The job completion state can be used to determine whether the queue job has completed processing.