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


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