OnlyOnceErrorHandler ErrorCode Property | Apache log4net™ SDK Documentation

The error code from the first error that trigged this error handler.

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

C#
VB
C++
F#
Copy

    public ErrorCode ErrorCode { get; }

    Public ReadOnly Property ErrorCode As ErrorCode
    	Get

    public:
    property ErrorCode ErrorCode {
    	ErrorCode get ();
    }

    member ErrorCode : ErrorCode with get

#### Property Value

Type: ErrorCode
Remarks

Defaults to GenericFailure
See Also

#### Reference

OnlyOnceErrorHandler Class
log4net.Util Namespace