Called when the transaction has completed.
Sub Complete ( _ succeeded As Boolean, _ items As ICollection _ )
Dim instance As IPendingWork Dim succeeded As Boolean Dim items As ICollection instance.Complete(succeeded, items)
void Complete( bool succeeded, ICollection items )
void Complete( bool succeeded, ICollection^ items )
function Complete( succeeded : boolean, items : ICollection )
If succeeded is true, the transaction succeeded and any resources used by the work batch may be released. If succeeded is false, the transaction failed. Depending on your implementation, you can perform any appropriate roll back on the work in the work batch when the transaction fails.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003