AddIn.Installer1.Uninstall C# (CSharp) Метод

Uninstall() публичный Метод

Unregister the assembly
The stateSaver parameter is a /// null reference (Nothing in Visual Basic). /// An exception occurred in the BeforeInstall event handler of one /// of the installers in the collection. /// -or- /// An exception occurred in the AfterInstall event handler of one /// of the installers in the collection.
public Uninstall ( IDictionary savedState ) : void
savedState IDictionary An IDictionary that contains the state of /// the computer after the installation was complete.
Результат void
		public override void Uninstall(IDictionary savedState)
		{
			base.Uninstall (savedState);

			RegistrationServices regSrv = new RegistrationServices();

			System.Reflection.Assembly assembly = base.GetType().Assembly;

			regSrv.UnregisterAssembly(assembly);
		}