Windows Workflow CommitWorkBatch Services
The purpose of the Windows Workflow CommitWorkBatch services is to enable custom logic regarding the commitment of work batches (also known as persistence points). When a work batch is committed, the runtime calls into the current CommitWorkBatch service and passes a delegate to call to do the actual committing of the work batch. The runtime still must do the commit, but letting a service insert itself into the process enables some customization around the commit process. This section details how to use the two CommitWorkBatch services that are defined in Windows Workflow Foundation.