ArcFM Responder Mobile Developer Guide
ErrorFormatWithEventId Method






Append an event ID to the event Log entry
Syntax
'Declaration
 
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Shared Sub ErrorFormatWithEventId( _
   ByVal log As log4net.ILog, _
   ByVal eventId As System.Integer, _
   ByVal format As System.String, _
   ByVal ParamArray args() As System.Object _
) 
'Usage
 
Dim log As log4net.ILog
Dim eventId As System.Integer
Dim format As System.String
Dim args() As System.Object
 
Logging.ErrorFormatWithEventId(log, eventId, format, args)
[System.Runtime.CompilerServices.Extension()]
public static void ErrorFormatWithEventId( 
   log4net.ILog log,
   System.int eventId,
   System.string format,
   params System.object[] args
)
public procedure ErrorFormatWithEventId( 
    log: log4net.ILog;
    eventId: System.Integer;
    format: System.String;
   params  args: System.TObjectarray of
); static; 
System.Runtime.CompilerServices.ExtensionAttribute()
public static function ErrorFormatWithEventId( 
   log : log4net.ILog,
   eventId : System.int,
   format : System.String,
   args : System.Object[]
);
[System.Runtime.CompilerServices.Extension()]
public: static void ErrorFormatWithEventId( 
   log4net.ILog* log,
   System.int eventId,
   System.string* format,
   params System.Object*[]* args
) 
[System.Runtime.CompilerServices.Extension()]
public:
static void ErrorFormatWithEventId( 
   log4net.ILog^ log,
   System.int eventId,
   System.String^ format,
   ... System.array<Object^>^ args
) 

Parameters

log
eventId
format
args
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

Send Feedback