Compartilhar via


SnapInInstaller.Uninstall Method (IDictionary)

 

Removes settings from the registry. This method overrides the virtual Uninstall method for the Installer class. For each snap-in that is defined in the loaded assembly, reflection is used to get registration information such as their node types, their identities, and other information. These settings are then removed from the registry as part of the uninstall.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

public override void Uninstall(
    IDictionary savedState
)
public:
virtual void Uninstall(
    IDictionary^ savedState
) override
override Uninstall : 
        savedState:IDictionary -> unit
Public Overrides Sub Uninstall (
    savedState As IDictionary
)

Parameters

Exceptions

Exception Condition
ArgumentException

The savedState IDictionary might have been corrupted.

InstallException

An exception occurred while uninstalling. This exception is ignored and the uninstall continues. However, the application might not be fully uninstalled after the uninstall is completed.

Remarks

For a detailed description of installation methods, see the Installer class.

See Also

Installer
SnapInInstaller Class
Microsoft.ManagementConsole Namespace

Return to top