NativeError Class | Apache log4net™ SDK Documentation

Represents a native error code and message.
Inheritance Hierarchy

System
Object
log4net.Util
NativeError

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

C#
VB
C++
F#
Copy

    public sealed class NativeError

    Public NotInheritable Class NativeError

    public ref class NativeError sealed

    [<SealedAttribute>]
    type NativeError =  class end

The NativeError type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| Message | Gets the message of the native error.
| Number | Gets the number of the native error.

Top
Methods

| Name | Description
--- | --- | ---
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| GetError | Create a new instance of the NativeError class.
| GetErrorMessage | Retrieves the message corresponding with a Win32 message identifier.
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetLastError | Create a new instance of the NativeError class for the last Windows error.
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| ToString | Return error information string (Overrides Object ToString .)

Top
Remarks

Represents a Win32 platform native error.

See Also

#### Reference

log4net.Util Namespace