Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

NativeError.GetError�Method�

Create a new instance of the NativeError class.

[Visual�Basic]
Public�Shared�Function�GetError( _
���ByVal number�As�Integer�_
)�As�NativeError
[C#]
public�static�NativeError�GetError(
���intnumber
);

Parameters

number
the error number for the native error

Return Value

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

NativeError Class | log4net.Util Namespace