Share via


UndoUnit Constructor

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method UndoUnit(IServiceProvider, Context, TransactionCommitHandler) Creates an undo unit without a transaction, but with a delegate it can use to obtain the transaction later, when necessary.
Public method UndoUnit(IServiceProvider, Context, TransactionItem) Constructs a new undo unit.
Public method UndoUnit(IServiceProvider, Context, TransactionCommitHandler, DescriptionHandler) Creates an undo unit without a transaction, but with a delegate it can use to obtain the transaction later, when necessary. Also specifies a delegate that can be used to obtain the description of this action, to avoid a commit.

Top

See Also

Reference

UndoUnit Class

Microsoft.VisualStudio.Modeling.Shell Namespace