Rollback Method
When overridden in a derived class, restores the pre-installation state of the computer.
Syntax
'Declaration Public Overrides Sub Rollback( _ ByVal savedState As IDictionary _ )
'Usage Dim instance As MessageQueueInstaller Dim savedState As IDictionary instance.Rollback(savedState)
public override void Rollback( IDictionary savedState )
public: void Rollback( IDictionary^ savedState ) override
Parameters
- savedState
- An System.Collections.IDictionary that contains the pre-installation state of the computer.
Exceptions
Exception | Description |
---|---|
System.ArgumentException | The savedState parameter is null.-or- The saved-state System.Collections.IDictionary might have been corrupted. |
System.Configuration.Install.InstallException | An exception occurred during the System.Configuration.Install.Installer.Rollback(System.Collections.IDictionary) 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. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also