Return SNMP version 1 and 2 error code (errorCode field in the Pdu class) as a short, descriptive string.

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static string ErrorMessage(
	int errorCode
)
Public Shared Function ErrorMessage ( _
	errorCode As Integer _
) As String
public:
static String^ ErrorMessage(
	int errorCode
)

Parameters

errorCode
Int32
Error code sent by the agent

Return Value

Short error message for the error code

See Also