Instance value returned from the Microsoft.SharePoint.SPWorkItemStatus enumeration that specifies the current processing status of the work item.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration Public ReadOnly Property InternalState As SPWorkItemStatus Get 'Usage Dim instance As SPWorkItem Dim value As SPWorkItemStatus value = instance.InternalState
Property valueType: Microsoft.SharePoint.SPWorkItemStatus
Returns an enumeration value specifying the processing state of the work item object.
Typically, SPWorkItem objects are deleted from the priority queue after they are processed. However, your code can persist completed work items in the Completed state, when, for example, dependency or status reporting requirements, or other list synchronization issues, require that the object remain in the queue.
In cases in which the work item remains in the queue after its processing is completed, superfluous data that is stored in the TextPayload property should be removed.