Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Committing Event

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft