Export (0) Print
Expand All

DesignerTransaction.OnCancel Method

Raises the Cancel event.

Namespace: System.ComponentModel.Design
Assembly: System (in system.dll)

protected abstract void OnCancel ()
protected abstract void OnCancel ()
protected abstract function OnCancel ()
Not applicable.

When a designer transaction is canceled, the transaction processing mechanism attempts to roll back the changes that have been made so far in the transaction. Whether this succeeds is dependent upon such factors as the type of each operation, whether other operations interfered with any of the involved code's state, and whether a sequence of expected operations failed to complete.

Notes to Inheritors: When implemented in a derived class, this method cancels a transaction.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft