Installer.Committing Event

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: