Handles a notification that the user has clicked the Cancel button and the property sheet is about to be destroyed. All changes that were made since the last apply operation are canceled. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Me.OnCancel

Syntax

Visual Basic
Protected Overrides Sub OnCancel
C#
protected override void OnCancel ()
C++
protected:
virtual void OnCancel () override
J#
protected void OnCancel ()
JScript
protected override function OnCancel ()

Remarks

Your application must override this method in a derived class.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also