UndoEngine.UndoUnit.UndoCore Method
Called by Undo to perform an undo action.
Namespace: System.ComponentModel.Design
Assembly: System.Design (in System.Design.dll)
The Undo method calls the UndoCore method to perform an undo operation. The Undo method itself works to maintain consistent state within the UndoEngine.UndoUnit, even in the event of an exception thrown by UndoCore.
Notes to InheritorsDo not call the UndoCore method directly; override it if you want, but always call the public Undo method to perform undo work. The Undo method notifies the undo engine to suspend undo-operation data gathering until the current undo operation is completed. This prevents new undo units from being created in response to this unit doing work.
- 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.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.