This topic has not yet been rated - Rate this topic

UndoEngine.UndoUnit.UndoCore Method

Called by Undo to perform an undo action.

Namespace:  System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)
protected virtual void UndoCore()

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 Inheritors

Do 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.

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0

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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.