Miner.Responder.Shared.Extensions Namespace > Logging Class > ErrorWithEventId Method : ErrorWithEventId(ILog,Int32,Exception) Method |
'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 );
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