Compartilhar via


SmsPropertyPage.OnCancel Method

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

'Usage

Me.OnCancel

Syntax

'Declaration
Protected Overrides Sub OnCancel
protected override void OnCancel ()
protected:
virtual void OnCancel () override
protected void OnCancel ()
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

Reference

SmsPropertyPage Class
SmsPropertyPage Members
Microsoft.ConfigurationManagement.AdminConsole Namespace