OPC Studio User's Guide and Reference
LogEntryEventArgs Constructor



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Instrumentation Namespace > LogEntryEventArgs Class : LogEntryEventArgs Constructor
Initializes a new instance of the class.
Overload List
OverloadDescription
Creates an information type entry with an empty message text for the event log and a void event source.  
 
Creates an information type entry with the given message text for the event log, using the specified event source.  
Creates an error, warning, information, success audit, or failure audit entry with the given message text for the event log, using the specified event source.  
Creates an entry with the given message text and application-defined event identifier for the event log, using the specified event source.  
Creates an entry with the given message text, application-defined event identifier, and application-defined category for the event log, using the specified event source. The category can be used by the Event Viewer to filter events in the log.  
Creates an entry with the given message text, application-defined event identifier, and application-defined category for the event log (using the specified event source) and appends binary data to it.  
Initializes a new instance of the class with serialized data.  
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also