ILinkedUndoTransaction Interface
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.
A transaction which supports linked undo such as that implemented by Visual Studio
public interface class ILinkedUndoTransaction : IDisposable
public interface ILinkedUndoTransaction : IDisposable
type ILinkedUndoTransaction = interface
interface IDisposable
Public Interface ILinkedUndoTransaction
Implements IDisposable
- Implements
Properties
Id |
Identity of the transaction. |
Methods
Abort() |
Abort this transaction. Attempt to rollback the changes made in the current transaction, else throw an exception.
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. |
Commit() |
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. |