MessageQueueInstaller.Uninstall Method (IDictionary)
Removes an installation by removing queue information from the registry. This method is meant to be used by uninstallation tools, which automatically call the appropriate methods.
Assembly: System.Messaging (in System.Messaging.dll)
Typically, you do not call the methods of the MessageQueueInstaller from within your code; they are generally called only by the InstallUtil.exe installation utility (in uninstall mode). The utility automatically calls the method to restore the parts of the system that were affected by the installation to their pre-installation states. This includes deleting registry information that is associated with the MessageQueue being uninstalled.
An application's uninstall routine uses the project installer's Installer.Context to automatically maintain information about the components that have already been uninstalled. This state information, which is passed to as the savedState parameter, is continuously updated as the utility uninstalls each MessageQueueInstaller instance. Usually, it is not necessary for your code to explicitly modify this state information.
Available since 1.1