O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

EventLogInstaller

Synopsis

This class is a System.Configuration.Install.Installer to install EventLogs. To install a new source, set the appropriate Source and Log properties.

public class EventLogInstaller : System.Configuration.Install.ComponentInstaller {
// Public Constructors
   public method EventLogInstaller();
// Public Instance Properties
   public field string Log{set; get; }
   public field string Source{set; get; }
   public field UninstallAction UninstallAction{set; get; }
// Public Instance Methods
   public override method void CopyFromComponent(System.ComponentModel.IComponent component);
           // overrides System.Configuration.Install.ComponentInstaller
   public override method void Install(System.Collections.IDictionary stateSaver);
           // overrides System.Configuration.Install.Installer
   public override method bool IsEquivalentInstaller(
        System.Configuration.Install.ComponentInstaller otherInstaller);       
           // overrides System.Configuration.Install.ComponentInstaller
   public override method void Rollback(System.Collections.IDictionary savedState);
           // overrides System.Configuration.Install.Installer
   public override method void Uninstall(System.Collections.IDictionary savedState);
           // overrides System.Configuration.Install.Installer
         
}

Hierarchy

System.ObjectSystem.MarshalByRefObjectSystem.ComponentModel.Component(System.ComponentModel.IComponent, System.IDisposable)System.Configuration.Install.InstallerSystem.Configuration.Install.ComponentInstallerEventLogInstaller

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required