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.9.1.0 (0.9.1)

Syntax

C#
public static string ErrorMessage(
	int errorCode
)
Visual Basic
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