log4net SDK Reference

IErrorHandler.Error Method (String, Exception, ErrorCode)

Handles the error and information about the error condition is passed as a parameter.

[Visual Basic]
Sub Error( _
   ByVal message As String, _
   ByVal e As Exception, _
   ByVal errorCode As ErrorCode _
)
[C#]
void Error(
   string message,
   Exception e,
   ErrorCode errorCode
);

Parameters

message
The message associated with the error.
e
The Exception that was thrown when the error occurred.
errorCode
The error code associated with the error.

Remarks

Handles the error and information about the error condition is passed as a parameter.

See Also

IErrorHandler Interface | log4net.Core Namespace | IErrorHandler.Error Overload List