Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

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(
���stringmessage,
���Exceptione,
���ErrorCodeerrorCode
);

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