![]() | EditFileManagerOnPrepareFileStream Method |
Namespace: Novacta.Transactions.IO
This method is called when the FileManager is notified that a transaction is being prepared for commitment.
Notes to Inheritors
You should throw an exception from this method in case the manager cannot prepare for the transaction to complete. The call to OnPrepareFileStream(String) is wrapped within the Prepare(PreparingEnlistment) method with a try/catch block: the catch block will pass any exception on via the ForceRollback(Exception) method.