SPWorkItem.Created Property
Gets a DateTime value specifying when the work item entered the workflow priority queue on the database. In the event of a failure in processing a work item, this value is reset to the system time of the failure.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public ReadOnly Property Created As DateTime
Get
'Usage
Dim instance As SPWorkItem
Dim value As DateTime
value = instance.Created
public DateTime Created { get; }
Property Value
Type: System.DateTime
Returns a DateTime value representing the time that a work item entered the workflow priority queue.
Remarks
You cannot rely on this property value to provide a reliable indication of the time at which the work item was initially pushed onto the priority queue, because the property is reset to the current system time when a processing failure occurs. This behavior also affects the sorting semantics when reprocessing the work item.
Compare DeliveryDate.