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

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
);

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

Remarks

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.

See Also

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