IErrorHandlerError Method (String, Exception, ErrorCode)Apache log4net™ SDK Documentation
Handles the error and information about the error condition is passed as a parameter.

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

void Error(
	string message,
	Exception e,
	ErrorCode errorCode
)

Parameters

message
Type: SystemString
The message associated with the error.
e
Type: SystemException
The Exception that was thrown when the error occurred.
errorCode
Type: log4net.CoreErrorCode
The error code associated with the error.
Remarks

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

See Also

Reference