Share via


SmsSnapInBase.OnShutdown Method

Handles a notification from Microsoft Management Console that the snap-in should close, and deletes the current performance counter.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim status As AsyncStatus

Me.OnShutdown(status)

Syntax

'Declaration
Protected Overrides Sub OnShutdown ( _
    status As AsyncStatus _
)
protected override void OnShutdown (
    AsyncStatus status
)
protected:
virtual void OnShutdown (
    AsyncStatus^ status
) override
protected void OnShutdown (
    AsyncStatus status
)
protected override function OnShutdown (
    status : AsyncStatus
)

Parameters

  • status
    [in] Microsoft.ManagementConsole.AsyncStatus object that indicates the status of the operation.

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

SmsSnapInBase Class
SmsSnapInBase Members
Microsoft.ConfigurationManagement.AdminConsole Namespace