Committing Event
Collapse the table of content
Expand the table of content

Installer.Committing Event

 

Occurs before the installers in the Installers property committ their installations.

Namespace:   System.Configuration.Install
Assembly:  System.Configuration.Install (in System.Configuration.Install.dll)

public event InstallEventHandler Committing

The following example demonstrates the Committing event. It is raised by the OnCommitting method.

public MyInstallerClass() :base()
{
   // Attach the 'Committing' event.
   this.Committing += new InstallEventHandler(MyInstaller_Committing);
}
// Event handler for 'Committing' event.
private void MyInstaller_Committing(object sender, InstallEventArgs e)
{
   Console.WriteLine("Committing Event occured.");
}

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft