Leadtools.Jpip.Logging Namespace > EventLogger Class : EventLog Event |
public event EventHandler<EventLogEntry> EventLog
'Declaration Public Event EventLog As EventHandler(Of EventLogEntry)
'Usage Dim instance As EventLogger Dim handler As EventHandler(Of EventLogEntry) AddHandler instance.EventLog, handler
public event EventHandler<EventLogEntry> EventLog
add_EventLog(function(sender, e)) remove_EventLog(function(sender, e))
public: event EventHandler<EventLogEntry^>^ EventLog
The event handler receives an argument of type EventLogEntry containing data related to this event. The following EventLogEntry properties provide information specific to this event.
Property | Description |
---|---|
ChannelID | Gets the client channel ID. |
ClientIPAddress | Gets the IP address of the client. |
ClientPort | Gets the port number of the client. |
DateTime | Gets the date and time of the event log. |
Description | Gets a textual description of the event log. |
ServerIPAddress | Gets the server IP address. |
ServerName | Gets the name of the server. |
ServerPort | Gets the port number of the server. |
Type | Gets the type of the event. |
This event allows you to get notifications when an event log is written.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2