- serverName
- The name of the server generating the event log.
- serverIPAddress
- The server IP address generating the event log.
- serverPort
- The server port number generating the event log.
- clientIPAddress
- The client IP address.
- clientPort
- The client port number.
- dateTime
- The date and time of the event log.
- eventType
- One of the EventLogEntryEventType values.
- channelID
- The client channel id.
- description
- The string to write to the event log.
Visual Basic (Declaration) | |
---|---|
Public Shared Sub LogEvent( _ ByVal serverName As String, _ ByVal serverIPAddress As String, _ ByVal serverPort As String, _ ByVal clientIPAddress As String, _ ByVal clientPort As String, _ ByVal dateTime As Date, _ ByVal eventType As EventLogEntryEventType, _ ByVal channelID As String, _ ByVal description As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public static void LogEvent( string serverName, string serverIPAddress, string serverPort, string clientIPAddress, string clientPort, DateTime dateTime, EventLogEntryEventType eventType, string channelID, string description ) |
C++/CLI | |
---|---|
public: static void LogEvent( String^ serverName, String^ serverIPAddress, String^ serverPort, String^ clientIPAddress, String^ clientPort, DateTime dateTime, EventLogEntryEventType eventType, String^ channelID, String^ description ) |
Parameters
- serverName
- The name of the server generating the event log.
- serverIPAddress
- The server IP address generating the event log.
- serverPort
- The server port number generating the event log.
- clientIPAddress
- The client IP address.
- clientPort
- The client port number.
- dateTime
- The date and time of the event log.
- eventType
- One of the EventLogEntryEventType values.
- channelID
- The client channel id.
- description
- The string to write to the event log.
For an example, refer to Leadtools.Jpip.Server.JpipServer.
Calling this method will cause the EventLog event to be raised.
Any registered ILogginChannel will be notified for the event log by calling the ILogginChannel.WriteLog method
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family