NativeError.GetError Method Apache log4netâ„¢ SDK Documentation
Create a new instance of the NativeError class.

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

public static NativeError GetError(
	int number
)

Parameters

number
Type: System.Int32
the error number for the native error

Return Value

Type: NativeError
An instance of the NativeError class for the specified error number.
Remarks

The message for the specified error number is lookup up using the native Win32 FormatMessage function.

See Also

Reference