log4net SDK Reference

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(
   int messageId
);

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