ArcFM Responder Mobile Developer Guide
WarnFormatWithEventId Method






Append an event ID to the event Log entry
Syntax
'Declaration
 
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Shared Sub WarnFormatWithEventId( _
   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.WarnFormatWithEventId(log, eventId, format, args)
[System.Runtime.CompilerServices.Extension()]
public static void WarnFormatWithEventId( 
   log4net.ILog log,
   System.int eventId,
   System.string format,
   params System.object[] args
)
public procedure WarnFormatWithEventId( 
    log: log4net.ILog;
    eventId: System.Integer;
    format: System.String;
   params  args: System.TObjectarray of
); static; 
System.Runtime.CompilerServices.ExtensionAttribute()
public static function WarnFormatWithEventId( 
   log : log4net.ILog,
   eventId : System.int,
   format : System.String,
   args : System.Object[]
);
[System.Runtime.CompilerServices.Extension()]
public: static void WarnFormatWithEventId( 
   log4net.ILog* log,
   System.int eventId,
   System.string* format,
   params System.Object*[]* args
) 
[System.Runtime.CompilerServices.Extension()]
public:
static void WarnFormatWithEventId( 
   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