NativeErrorGetError Method Apache log4net™ SDK Documentation
Create a new instance of the NativeError class.

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

public static NativeError GetError(
	int number
)

Parameters

number
Type: SystemInt32
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