UndoableGraphTransactionScope-Konstruktor (Object, UndoOption)
Erstellt ein neues 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
)
Parameter
undoUnitId
Typ: ObjectDie ID der Aktion, die rückgängig gemacht werden kann; sollte kein System.String-Objekt sein sollte
option
Typ: Microsoft.VisualStudio.GraphModel.UndoOptionOption, wie die Änderung bei dem Rückgängigstapel der Anwendung behandelt werden soll
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
UndoableGraphTransactionScope Klasse