ArcFM Engine Developer Guide
ErrorWithEventId(ILog,Int32,String,Exception) Method


Append an event ID to the event Log entry
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Overloads Shared Sub ErrorWithEventId( _
   ByVal log As log4net.ILog, _
   ByVal eventId As Integer, _
   ByVal message As String, _
   ByVal ex As Exception _
) 
'Usage
 
Dim log As log4net.ILog
Dim eventId As Integer
Dim message As String
Dim ex As Exception
 
Logging.ErrorWithEventId(log, eventId, message, ex)
[Extension()]
public static void ErrorWithEventId( 
   log4net.ILog log,
   int eventId,
   string message,
   Exception ex
)

Parameters

log
eventId
message
ex
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

Logging Class
Logging Members
Overload List

 

 


Send Comment