UndoableGraphTransactionScope Class
This is a special graph transaction scope that can be used for undoable edits (that appear in the host application undo stack).
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Microsoft.VisualStudio.GraphModel::GraphTransactionScope
Microsoft.VisualStudio.GraphModel::UndoableGraphTransactionScope
| Name | Description | |
|---|---|---|
![]() | UndoableGraphTransactionScope(Object^, String^, UndoOption) | Construct a new UndoableGraphTransactionScope |
![]() | UndoableGraphTransactionScope(Object^, UndoOption) | Construct a new UndoableGraphTransactionScope |
![]() | UndoableGraphTransactionScope(String^) | Construct a new UndoableGraphTransactionScope |
![]() | UndoableGraphTransactionScope(UndoOption) | Construct a new UndoableGraphTransactionScope |
| Name | Description | |
|---|---|---|
![]() | ScopeProperties | The property bag associated with this scope.(Inherited from GraphTransactionScope.) |
| Name | Description | |
|---|---|---|
![]() | Complete() | Mark us as completed. Dispose will check this and if this wasn't called, the transaction will abort.(Inherited from GraphTransactionScope.) |
![]() | Dispose() | IDisposable.Dispose.(Inherited from GraphTransactionScope.) |
![]() | Dispose(Boolean) | (Overrides GraphTransactionScope::Dispose(Boolean).) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() ![]() | GetUndoDescription(Dictionary<Object^, Object^>^) | Get the undo description from the given transaction scope properties. |
![]() ![]() | GetUndoId(Dictionary<Object^, Object^>^) | Get the Id associated with the given GraphTransactionEnlistment |
![]() ![]() | GetUndoOption(Dictionary<Object^, Object^>^) | Get the UndoOption associated from the given transaction scope properties. |
![]() ![]() | IsForceAdd(Dictionary<Object^, Object^>^) | Get if the transaction is marked as "force add", which will create an undo unit even if it is empty. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | DisableUndo | |
![]() ![]() | ForceAddKey | |
![]() ![]() | UndoDescriptionKey | |
![]() ![]() | UndoOptionKey |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





