Share via


SnapInInstaller.Rollback Method (IDictionary)

 

This method uses any saved registry settings in the supplied dictionary and attempts to reapply them. This method overrides the virtual Rollback method for the Installer class.

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

Syntax

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

Parameters

Exceptions

Exception Condition
ArgumentException

The savedState parameter is a null reference (Nothing in Visual Basic .NET).

-or- The savedState IDictionary might have been corrupted.

InstallException

An exception occurred during the rollback phase of the installation. This exception is ignored and the rollback continues. However, the computer might not be fully reverted to its initial state after the rollback completes.

See Also

Installer
SnapInInstaller Class
Microsoft.ManagementConsole Namespace

Return to top