log4net SDK Documentation - Microsoft .NET Framework 4.0

OnlyOnceErrorHandler Members

OnlyOnceErrorHandler overview

Public Instance Constructors

OnlyOnceErrorHandler Overloaded. Initializes a new instance of the OnlyOnceErrorHandler class.

Public Instance Properties

EnabledDate The date the first error that trigged this error handler occured.
ErrorCode The error code from the first error that trigged this error handler.
ErrorMessage The message from the first error that trigged this error handler.
Exception The exception from the first error that trigged this error handler.
IsEnabled Is error logging enabled

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
ErrorOverloaded. Log an Error
GetHashCode (inherited from Object) Serves as a hash function for a particular type.
GetType (inherited from Object) Gets the Type of the current instance.
Reset Reset the error handler back to its initial disabled state.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

OnlyOnceErrorHandler Class | log4net.Util Namespace