SPWorkItemCollection Methods

The SPWorkItemCollection type exposes the following members.

  Name Description
Public method CompleteInProgressWorkItems Marks the list of in-progress work items as "complete" upon successfully processing the work item collection. Has the added effect of keeping the work items in the work item table, but in a state where they are not picked up by the GetRunnableWorkItems query.
Public method CopyTo Copies one work item collection as an array into another work item collection.
Public method DeleteInProgressWorkItems Marks the list of in-progress work items as "complete" upon successfully processing the work item collection and deletes the work items from the processing queue.
Public method DeleteWorkItem Deletes a single specified work item from the processing queue.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPAutoSerializingObject.)
Public method RevertInProgressWorkItem Marks an in-process work item as not yet completed, but also not processed. Has the effect of returning the work item to an unprocessed state so it is picked up during a subsequent invocation of the RunnableWorkItems query.
Public method RevertInProgressWorkItems Marks an in-process work item collection as not yet completed, but also not processed. Has the effect of returning the entire collection to an unprocessed state so it is picked up during a subsequent invocation of the RunnableWorkItems query.
Public method SubCollection Returns an SPWorkItemCollection instance (as a subcollection) from individual sites while iterating over all sites to assemble the full work item collection from the site-specific subcollections.
Public method ToString (Inherited from Object.)
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)
Public method UpdateWorkItem Allows you to change the delivery date, the binary payload, or the text payload on a specified work item.
Top

  Name Description
Explicit interface implemetation Private method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
Top
Show: