NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Installer.OnBeforeUninstall

Raises the OnBeforeUninstall event.

[Visual Basic]
Overridable Protected Sub OnBeforeUninstall( _
   ByVal savedState As IDictionary _
)
[C#]
protected virtual void OnBeforeUninstall(
   IDictionary savedState
);
[C++]
protected: virtual void OnBeforeUninstall(
   IDictionary* savedState
);
[JScript]
protected function OnBeforeUninstall(
   savedState : IDictionary
);

Parameters

savedState
An IDictionary that represents the state of the machine before the installations handled by the installers in this instance's InstallerCollection of have been removed.

Remarks

This method is called before removing the installations that were done by the installers in this instance's InstallerCollection.

Raising the event invokes an event-handling method through a delegate. For an overview, see EventTopicTBD.

Notes to Inheritors: When overriding OnBeforeInstall in a derived class, be sure to call the base class's OnBeforeInstall method.

See Also

Installer Class | Installer Members | System.Configuration.Install Namespace | OnAfterInstall | OnAfterRollback | OnAfterUninstall | OnBeforeCommit | OnBeforeInstall | OnBeforeRollback | OnAfterCommit