Raises the OnBeforeCommit event.
[Visual Basic] Overridable Protected Sub OnBeforeCommit( _ ByVal savedState As IDictionary _ ) [C#] protected virtual void OnBeforeCommit( IDictionary savedState ); [C++] protected: virtual void OnBeforeCommit( IDictionary* savedState ); [JScript] protected function OnBeforeCommit( savedState : IDictionary );
This method is called before any of the Commit methods of the installers contained in this instance's InstallerCollection are run.
Raising the event invokes an event-handling method through a delegate. For an overview, see EventTopicTBD.
Notes to Inheritors: When overriding OnBeforeCommit in a derived class, be sure to call the base class's OnBeforeCommit method.
Installer Class | Installer Members | System.Configuration.Install Namespace | OnAfterInstall | OnAfterRollback | OnAfterUninstall | OnAfterCommit | OnBeforeInstall | OnBeforeRollback | OnBeforeUninstall