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.OnBeforeRollback

Raises the OnBeforeRollback event.

[Visual Basic]
Overridable Protected Sub OnBeforeRollback( _
   ByVal savedState As IDictionary _
)
[C#]
protected virtual void OnBeforeRollback(
   IDictionary savedState
);
[C++]
protected: virtual void OnBeforeRollback(
   IDictionary* savedState
);
[JScript]
protected function OnBeforeRollback(
   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 have been rolled back.

Remarks

This method is called before rolling back 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 OnBeforeRollback method.

See Also

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