ArcFM Responder Mobile Developer Guide
ErrorWithEventId(ILog,Int32,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 ex As System.Exception _
) 
'Usage
 
Dim log As log4net.ILog
Dim eventId As System.Integer
Dim ex As System.Exception
 
Logging.ErrorWithEventId(log, eventId, ex)
[System.Runtime.CompilerServices.Extension()]
public static void ErrorWithEventId( 
   log4net.ILog log,
   System.int eventId,
   System.Exception ex
)
public procedure ErrorWithEventId( 
    log: log4net.ILog;
    eventId: System.Integer;
    ex: System.Exception
); static; 
System.Runtime.CompilerServices.ExtensionAttribute()
public static function ErrorWithEventId( 
   log : log4net.ILog,
   eventId : System.int,
   ex : System.Exception
);
[System.Runtime.CompilerServices.Extension()]
public: static void ErrorWithEventId( 
   log4net.ILog* log,
   System.int eventId,
   System.Exception* ex
) 
[System.Runtime.CompilerServices.Extension()]
public:
static void ErrorWithEventId( 
   log4net.ILog^ log,
   System.int eventId,
   System.Exception^ ex
) 

Parameters

log
eventId
ex
Requirements

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

See Also

Reference

Logging Class
Logging Members
Overload List

Send Feedback