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.2.0 (0.5.2.0)

Syntax

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

Parameters

errorCode
Type: System..::.Int32
Error code sent by the agent

Return Value

Short error message for the error code

See Also