The EventLog Event includes members that are available as an add-on to the LEADTOOLS Imaging Pro, Document, and Medical Imaging toolkits.
Occurs when an event log is generated.Visual Basic (Declaration) | |
---|---|
Public Event EventLog As EventHandler(Of EventLogEntry) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As EventLogger Dim handler As EventHandler(Of EventLogEntry) AddHandler instance.EventLog, handler |
C# | |
---|---|
public event EventHandler<EventLogEntry> EventLog |
C++/CLI | |
---|---|
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. |
For an example, refer to Leadtools.Jpip.Server.JpipServer.
This event allows you to get notifications when an event log is written.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7