Handles a notification that the form for the dialog box is closing. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim e As CancelEventArgs

Me.OnClosing(e)

Syntax

Visual Basic
Protected Overrides Sub OnClosing ( _
		e As CancelEventArgs _
)
C#
protected override void OnClosing (
		CancelEventArgs e
)
C++
protected:
virtual void OnClosing (
		CancelEventArgs^ e
) override
J#
protected void OnClosing (
		CancelEventArgs e
)
JScript
protected override function OnClosing (
		e : CancelEventArgs
)

Parameters

e

[in] System.ComponentModel.CancelEventArgs object.

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