Name
EventLogInstaller
Synopsis
This class is a System.Configuration.Install.Installer
to
install EventLog
s. 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.Object→System.MarshalByRefObject→System.ComponentModel.Component(System.ComponentModel.IComponent
, System.IDisposable)→System.Configuration.Install.Installer→System.Configuration.Install.ComponentInstaller→EventLogInstaller
Get C# in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.