ILinkedUndoTransaction.Commit Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Commit changes made during the transaction.
ILinkedUndoContext.BeginTransaction and ILinkedUndoTransaction.Commit/ILinkedUndoTransaction.Abort are always called in pairs.
The implementation should be invariant to nested calls to this pair and still maintain the notion of one top-level transaction.
Dispose on the Transaction when Commit has not been called will call Abort.
public:
void Commit();
public void Commit ();
abstract member Commit : unit -> unit
Public Sub Commit ()
Exceptions
Thrown if the transaction is not open.