UndoableGraphTransactionScope Constructor (Object, UndoOption)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Construct a new UndoableGraphTransactionScope
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Sub New ( _
undoUnitId As Object, _
option As UndoOption _
)
public UndoableGraphTransactionScope(
Object undoUnitId,
UndoOption option
)
public:
UndoableGraphTransactionScope(
Object^ undoUnitId,
UndoOption option
)
new :
undoUnitId:Object *
option:UndoOption -> UndoableGraphTransactionScope
public function UndoableGraphTransactionScope(
undoUnitId : Object,
option : UndoOption
)
Parameters
undoUnitId
Type: System.ObjectThe id of the undoable action, should not be a System.String object
option
Type: Microsoft.VisualStudio.GraphModel.UndoOptionOption on how the change should be handled on the application undo stack
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
UndoableGraphTransactionScope Class