I Pending Work
Last changed: -80.126.16.139

.
Summary

The IPendingWork interface is used to transactionally do some work through a WorkBatch.

The interface consists of three functions:

  1. Commit
  2. Complete
  3. MustCommit

The WorkBatch uses the MustCommit function to determine if a the pending work item needs to be committed. If it returns true it calls the Commit function to do the actual work. Once the work is done the Complete function is called. The first parameter to the Complete function indicates if the transaction was successful or not.