[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Implements methods of the EventLog. [Property] EventLog=Sets a EventLog object that implements methods. ARG(EventLog)|20|(empty)|EventLog [Methods] *doBeginInit=Begins the initialization of an EventLog used on a form or used by another component. The initialization occurs at runtime. ARG()|1|0 *doClear=Removes all entries from the event log. ARG()|1|0 *doClose=Closes the event log and releases read and write handles. ARG()|1|0 *doCreateEventSource=Establishes a valid event source for writing localized event messages, using the specified configuration properties for the event source and the corresponding event log. ARG(EventSourceCreationData sourceData)|1|0 *doCreateEventSource2=Establishes the specified source name as a valid event source for writing entries to a log on the local computer. This method can also create a new custom log on the local computer. ARG(string source, string logName)|1|0 *doCreateEventSource3=Obsolete. Establishes the specified source name as a valid event source for writing entries to a log on the specified computer. This method can also be used to create a new custom log on the specified computer. ARG(string source, string logName, string machineName)|1|0 *doDelete=Removes an event log from the local computer. ARG(string logName)|1|0 *doDelete2=Removes an event log from the specified computer. ARG(string logName, string machineName)|1|0 *doDeleteEventSource=Removes the event source registration from the event log of the local computer. ARG(string source)|1|0 *doDeleteEventSource2=Removes the application's event source registration from the specified computer. ARG(string source, string machineName)|1|0 *doEnableRaisingEvents=Sets a value indicating whether the EventLog receives EntryWritten event notifications. ARG(bool)|1|0 *doEndInit=Ends the initialization of an EventLog used on a form or by another component. The initialization occurs at runtime. ARG()|1|0 *doExists=Determines whether the log exists on the local computer. ARG(string logName)|1|0 *doExists2=Determines whether the log exists on the specified computer. ARG(string logName, string machineName)|1|0 *doGetEventLogs2=Searches for all event logs on the given computer and creates an array of EventLog objects that contain the list. ARG(string machineName)|1|0 *doLogNameFromSourceName=Gets the name of the log to which the specified source is registered. ARG(string source, string machineName)|1|0 *doMaximumKilobytes=Sets the maximum event log size in kilobytes. ARG(long)|1|0 *doModifyOverflowPolicy=Changes the configured behavior for writing new entries when the event log reaches its maximum file size. ARG(OverflowAction action, int retentionDays)|1|0 *doRegisterDisplayName=Specifies the localized name of the event log, which is displayed in the server Event Viewer. ARG(string resourceFile, long resourceId)|1|0 *doSourceExists=Determines whether an event source is registered on the local computer. ARG(string source)|1|0 *doSourceExists2=Determines whether an event source is registered on a specified computer. ARG(string source, string machineName)|1|0 *doSynchronizingObject=Sets the object used to marshal the event handler calls issued as a result of an EventLog entry written event. ARG(ISynchronizeInvoke)|1|0 doWriteEntry=Writes an information type entry, with the given message text, to the event log. ARG(string message)|1|0 *doWriteEntry2=Writes an error, warning, information, success audit, or failure audit entry with the given message text to the event log. ARG(string message, EventLogEntryType type)|1|0 *doWriteEntry3=Writes an information type entry with the given message text to the event log, using the specified registered event source. ARG(string source, string message)|1|0 *doWriteEntry4=Writes an entry with the given message text and application-defined event identifier to the event log. ARG(string message, EventLogEntryType type, int eventID)|1|0 *doWriteEntry5=Writes an error, warning, information, success audit, or failure audit entry with the given message text to the event log, using the specified registered event source. ARG(string source, string message, EventLogEntryType type)|1|0 *doWriteEntry6=Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log. ARG(string message, EventLogEntryType type, int eventID, short category)|1|0 *doWriteEntry7=Writes an entry with the given message text and application-defined event identifier to the event log, using the specified registered event source. ARG(string source, string message, EventLogEntryType type, int eventID)|1|0 *doWriteEntry8=Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log, and appends binary data to the message. ARG(string message, EventLogEntryType type, int eventID, short category, byte[] rawData)|1|0 *doWriteEntry9=Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log, using the specified registered event source. The category can be used by the Event Viewer to filter events in the log. ARG(string source, string message, EventLogEntryType type, int eventID, short category)|1|0 *doWriteEntry10=Writes an entry with the given message text, application-defined event identifier, and application-defined category to the event log and appends binary data to the message. ARG(string source, string message, EventLogEntryType type, int eventID, short category, byte[] rawData)|1|0 *doWriteEvent=Writes a localized entry to the event log. ARG(EventInstance instance, params Object[] values)|1|0 *doWriteEvent2=Writes an event log entry with the given event data, message replacement strings, and associated binary data. ARG(EventInstance instance, byte[] data, params Object[] values)|1|0 *doWriteEvent3=Writes an event log entry with the given event data and message replacement strings, using the specified registered event source. ARG(string source, EventInstance instance, params Object[] values)|1|0 *doWriteEvent4=Writes an event log entry with the given event data, message replacement strings, and associated binary data, and using the specified registered event source. ARG(string source, EventInstance instance, byte[] data, params Object[] values)|1|0 *onExists=Occurs after invoke the method doExists and returns the result. ARG(bool)|2|104 *onGetEventLogs=Occurs after invoke the method doGetEventLogs and returns the result. ARG(EventLog[])|2|13 *onLogNameFromSourceName=Occurs after invoke the method doLogNameFromSourceName and returns the result. ARG(string)|2|2 *onSourceExists=Occurs after invoke the method doSourceExists and returns the result. ARG(bool)|2|104 *GetEventLogs=Searches for all event logs on the local computer and creates an array of EventLog objects that contain the list. ARG(EventLog[])|3|13 EventLog=Defines a EventLog object that implements methods. ARG(EventLog)|4|0 *action=Defines the overflow behavior for writing new entries to the event log. ARG(OverflowAction)|4|0 *category=Defines the application-specific subcategory associated with the message. ARG(short)|4|1 *data=Defines an array of bytes that holds the binary data associated with the entry. ARG(byte[])|4|13 *eventID=Defines the application-specific identifier for the event. ARG(int)|4|1 *instance=Defines an EventInstance instance that represents a localized event log entry. ARG(EventInstance)|4|0 *logName=Defines the name of the log on the local computer. ARG(string)|4|2 *machineName=Defines the computer on which the log exists. ARG(string)|4|2 Message=Defines the string to write to the event log. ARG(string)|4|2 *rawData=Defines an array of bytes that holds the binary data associated with the entry. ARG(byte[])|4|13 *resourceFile=Defines the fully specified path to a localized resource file. ARG(string)|4|2 *resourceId=Defines the resource identifier that indexes a localized string within the resource file. ARG(long)|4|105 *retentionDays=Defines the minimum number of days each event log entry is retained. This parameter is used only if action is set to OverwriteOlder. ARG(int)|4|1 *source=Defines the source of event log entries. ARG(string)|4|2 *sourceData=Defines the configuration properties for the event source and its target event log. ARG(EventSourceCreationData)|4|0 *type=Defines one of the EventLogEntryType values. ARG(EventLogEntryType)|4|0 *values=Defines an array of strings to merge into the message text of the event log entry. ARG(Object[])|4|13