Export (0) Print
Expand All

EventLogInstaller Members

Allows you to install and configure an event log that your application reads from or writes to when running.

The following tables list the members exposed by the EventLogInstaller type.

  Name Description
Public method EventLogInstaller Initializes a new instance of the EventLogInstaller class.
Top

(see also Protected Properties )
  Name Description
Public property CategoryCount Gets or sets the number of categories in the category resource file.
Public property CategoryResourceFile Gets or sets the path of the resource file that contains category strings for the source.
Public property Container  Gets the IContainer that contains the Component.(Inherited from Component.)
Public property Context  Gets or sets information about the current installation.(Inherited from Installer.)
Public property HelpText  Gets the help text for all the installers in the installer collection.(Inherited from Installer.)
Public property Installers  Gets the collection of installers that this installer contains.(Inherited from Installer.)
Public property Log Gets or sets the name of the log to set the source to.
Public property MessageResourceFile Gets or sets the path of the resource file that contains message formatting strings for the source.
Public property ParameterResourceFile Gets or sets the path of the resource file that contains message parameter strings for the source.
Public property Parent  Gets or sets the installer containing the collection that this installer belongs to.(Inherited from Installer.)
Public property Site  Gets or sets the ISite of the Component.(Inherited from Component.)
Public property Source Gets or sets the source name to register with the log.
Public property UninstallAction Gets or sets a value that indicates whether the Installer Tool (Installutil.exe) should remove the event log or leave it in its installed state at uninstall time.
Top

  Name Description
Protected property CanRaiseEvents  Gets a value indicating whether the component can raise an event.(Inherited from Component.)
Protected property DesignMode  Gets a value that indicates whether the Component is currently in design mode.(Inherited from Component.)
Protected property Events  Gets the list of event handlers that are attached to this Component.(Inherited from Component.)
Top

(see also Protected Methods )
  Name Description
Public method Commit  When overridden in a derived class, completes the install transaction. (Inherited from Installer.)
Public method CopyFromComponent Overridden. Copies the property values of an EventLog component that are required at installation time for an event log.
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose  Overloaded. Releases the resources used by the Component. (Inherited from Component.)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Install Overridden. Performs the installation and writes event log information to the registry.
Public method IsEquivalentInstaller Overridden. Determines whether an installer and another specified installer refer to the same source.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Rollback Overridden. Restores the computer to the state it was in before the installation by rolling back the event log information that the installation procedure wrote to the registry.
Public method ToString  Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Public method Uninstall Overridden. Removes an installation by removing event log information from the registry.
Top

  Name Description
Protected method Dispose  Overloaded. Releases the resources used by the Component. (Inherited from Component.)
Protected method Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Protected method MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Protected method OnAfterInstall  Raises the AfterInstall event. (Inherited from Installer.)
Protected method OnAfterRollback  Raises the AfterRollback event. (Inherited from Installer.)
Protected method OnAfterUninstall  Raises the AfterUninstall event. (Inherited from Installer.)
Protected method OnBeforeInstall  Raises the BeforeInstall event. (Inherited from Installer.)
Protected method OnBeforeRollback  Raises the BeforeRollback event. (Inherited from Installer.)
Protected method OnBeforeUninstall  Raises the BeforeUninstall event. (Inherited from Installer.)
Protected method OnCommitted  Raises the Committed event. (Inherited from Installer.)
Protected method OnCommitting  Raises the Committing event. (Inherited from Installer.)
Top

  Name Description
Public event AfterInstall  Occurs after the Install methods of all the installers in the Installers property have run.(Inherited from Installer.)
Public event AfterRollback  Occurs after the installations of all the installers in the Installers property are rolled back.(Inherited from Installer.)
Public event AfterUninstall  Occurs after all the installers in the Installers property perform their uninstallation operations.(Inherited from Installer.)
Public event BeforeInstall  Occurs before the Install method of each installer in the installer collection has run.(Inherited from Installer.)
Public event BeforeRollback  Occurs before the installers in the Installers property are rolled back.(Inherited from Installer.)
Public event BeforeUninstall  Occurs before the installers in the Installers property perform their uninstall operations.(Inherited from Installer.)
Public event Committed  Occurs after all the installers in the Installers property have committed their installations.(Inherited from Installer.)
Public event Committing  Occurs before the installers in the Installers property committ their installations.(Inherited from Installer.)
Public event Disposed  Adds an event handler to listen to the Disposed event on the component.(Inherited from Component.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft