Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

NativeError.GetErrorMessage�Method�

Retrieves the message corresponding with a Win32 message identifier.

[Visual�Basic]
Public�Shared�Function�GetErrorMessage( _
���ByVal messageId�As�Integer�_
)�As�String
[C#]
public�static�string�GetErrorMessage(
���intmessageId
);

Parameters

messageId
Message identifier for the requested message.

Return Value

The message corresponding with the specified message identifier.

Remarks

The message will be searched for in system message-table resource(s) using the native FormatMessage function.

See Also

NativeError Class | log4net.Util Namespace